Exemplo n.º 1
0
 /**
  * Appends target to node as last child.
  * @param CActiveRecord $target the target.
  * @param boolean $runValidation whether to perform validation.
  * @param array $attributes list of attributes.
  * @return boolean whether the appending succeeds.
  */
 public function append($target, $runValidation = true, $attributes = null)
 {
     return $target->appendTo($this->getOwner(), $runValidation, $attributes);
 }
 /**
  * Appends target to node as child.
  * @param CActiveRecord $target the target.
  * @return boolean whether the appending succeeds.
  */
 public function append(CActiveRecord $target)
 {
     return $target->appendTo($this->getOwner());
 }