public function actionSelectFile()
{
$this->layout = '@skeeks/cms/modules/admin/views/layouts/main.php';
\Yii::$app->cmsToolbar->enabled = 0;
$model = null;
$className = \Yii::$app->request->get('className');
$pk = \Yii::$app->request->get('pk');
if ($className && $pk) {
if ($model = $className::findOne($pk)) {
}
}
return $this->render($this->action->id, ['model' => $model]);
}