pendalf89\filemanager\controllers\FileController::actionInfo PHP Method

actionInfo() public method

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