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