public function init() { parent::init(); $this->setImport(array( 'imageGallery.models.*', 'imageGallery.components.behaviors.*', )); }
public function init() { parent::init(); $this->setImport(array( 'mainContent.components.*', 'mainContent.models.*', 'mainContent.components.widgets.*' )); }
public function init() { parent::init(); $this->setImport(array( 'admin.models.*', 'admin.components.*', )); Y::clientScript()->registerScriptFile($this->scriptPath.'/js/cms/asc.js'); }
public function init() { parent::init(); $baseUrl = Yii::app()->baseUrl; $this->registrationUrl = $baseUrl."/registration"; $this->recoveryUrl = $baseUrl."/recovery"; $this->loginUrl = $baseUrl."/login"; $this->logoutUrl = $baseUrl."/logout"; $this->cabinetUrl = $baseUrl."/cabinet"; $this->profileUrl = $baseUrl."/profile"; $this->adminReturnUrl = $baseUrl."/admin"; $this->returnUrl = $baseUrl."/profile"; $this->returnLogoutUrl = $baseUrl."/login"; $this->editProfileUrl = $baseUrl."/profile/edit"; $this->changePassUrl = $baseUrl."/profile/changepassword"; $this->category = Y::category('index'); $this->setImport(array( 'users.models.*', 'users.components.*', 'users.components.widgets.*' )); }