示例#1
0
 /**
  * Получить флаг разрешающий обновление, по-умолчанию false
  *
  * @return bool
  */
 public function isUpdateAllowed()
 {
     if (!$this->checkCond(self::UPDATE_ALLOWED) && $this->parent) {
         $this->cond(self::UPDATE_ALLOWED, $this->parent->isUpdateAllowed());
     }
     return $this->getCond(self::UPDATE_ALLOWED, true);
 }