yupe\components\WebModule::getInstall PHP Method

getInstall() public method

Метод устанавливающий модуль
Since: 0.5
public getInstall ( ) : boolean
return boolean статус установки модуля
    public function getInstall()
    {
        return $this->id == ModuleManager::CORE_MODULE || ($status = $this->getActivate()) ? $this->installDB() : $status;
    }

Usage Example

Example #1
0
 public function getInstall()
 {
     if (parent::getInstall()) {
         @mkdir(Yii::app()->uploadManager->getBasePath() . DIRECTORY_SEPARATOR . $this->uploadPath, 0755);
     }
     return false;
 }
All Usage Examples Of yupe\components\WebModule::getInstall