/** * Appends target to node as last child. * @param ActiveRecord $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->owner, $runValidation, $attributes); }
/** * Appends target to node as child. * @param ActiveRecord $target the target * @return boolean whether the appending succeeds. */ public function append(ActiveRecord $target) { return $target->appendTo($this->owner); }