public function actionInfo($id, $strictThumb = null)
    {
        $model = Mediafile::findOne($id);
        Yii::$app->assetManager->bundles = false;
        return $this->renderAjax('info', [
            'model' => $model,
            'strictThumb' => $strictThumb,
        ]);
    }
public function actionInfo($id, $strictThumb = null)
    {
        $model = Mediafile::findOne($id);
        Yii::$app->assetManager->bundles = false;
        return $this->renderAjax('info', [
            'model' => $model,
            'strictThumb' => $strictThumb,
        ]);
    }
public function actionInfo ( $ id , $ strictThumb = null ) { $ model = Mediafile :: findOne ( $ id ) ; Yii :: $ app -> assetManager -> bundles = false ; return $ this -> renderAjax ( 'info' , [ 'model' => $ model , 'strictThumb' => $ strictThumb , ] ) ; }
Render model info
@param int $id
@param string $strictThumb only this thumb will be selected
@return string
Render model info