ES
Size: a a a
ES
NO
ES
ES
NO
NO
NO
ES
PB
NO
ES
NO
NO
gf
gf
DG
O
DG
AD
/**
* Displays a single UploadedFile model.
* @param $path
* @param $name
* @return mixed
* @throws \yii\base\InvalidConfigException
* @throws \yii\web\RangeNotSatisfiableHttpException
*/
public function actionDownload($path, $name) {
/** @var Service $storage */
$storage = Yii::$app->get('storage');
$result = $storage->get($path);
return Yii::$app->response->sendContentAsFile($result['Body'], $name);
}
A
$count_mobile = KeywordStatistic::
updateAll(['google_mobile_position' => self::
NO_CACHE, 'search_time' => date('H:i:s')],
['and', ['search_date' => $this->date],
['and', ["TIME_FORMAT(search_time, '%H') >= {$h}"]],
['in', 'keyword_page_id', $keywords]]);
```