backend/modules/api/controllers/StatisticController.php
/**
    * @return Downloads Statistic,Count ContentProviders downloaded content size
    */
@return Downloads Statistic,Count ContentProviders downloaded content size
@return Downloads Statistic Count ContentProviders downloaded content size
public function actionGetStatisticCountProviders(){
        $startDate = Yii::$app->request->get('startDate');
        $endDate = Yii::$app->request->get('endDate');
        return ['resource'=>$this->statistic->getStatisticCountProviders($startDate,$endDate),'status' => 200];
    }
public function actionGetStatisticCountProviders ( ) { $ startDate = Yii :: $ app -> request -> get ( 'startDate' ) ; $ endDate = Yii :: $ app -> request -> get ( 'endDate' ) ; return [ 'resource' => $ this -> statistic -> getStatisticCountProviders ( $ startDate , $ endDate ) , 'status' => 200 ] ; }
@return Downloads Statistic,Count ContentProviders downloaded content size
@return Downloads Statistic Count ContentProviders downloaded content size