protected function afterConstruct() { parent::afterConstruct(); $this->initLanguageAttribute('labels'); //behavior method $this->initLanguageAttribute('descriptions'); //behavior method }
protected function afterConstruct() { parent::afterConstruct(); $this->initLanguageAttribute('labels'); //behavior method $this->initLanguageAttribute('descriptions'); //behavior method }