Exemple #1
0
 public function init()
 {
     parent::init();
     D3Files::registerTranslations();
     $this->model_name = $this->model->className();
     $this->fileList = ModelD3Files::fileListForWidget($this->model_name, $this->model_id);
 }
 public function init()
 {
     parent::init();
     D3Files::registerTranslations();
     $this->fileName = D3filesModel::findOne($this->fileModelId)->getD3files()->one()->file_name;
 }