addRule() protected method

protected addRule ( $rule )
Exemplo n.º 1
0
 /**
  * @inheritdoc
  */
 protected function addRule($rule)
 {
     parent::addRule($rule);
     if ($this->_rules !== null) {
         $this->_rules[$rule->name] = $rule;
     }
     $this->invalidate(self::PART_RULES);
     return true;
 }
Exemplo n.º 2
0
 public function addRule($rule)
 {
     return parent::addRule($rule);
 }