/** * Appends target to node as last child. * * @param \Phalcon\Mvc\ModelInterface $target the target. * @param array $attributes list of attributes. * @return boolean whether the appending succeeds. */ public function append($target, $attributes = null) { return $target->appendTo($this->getOwner(), $attributes); }
/** * Appends target to node as last child. * * @param ModelInterface $target the target. * @param array $attributes list of attributes. * @return boolean */ public function append(ModelInterface $target, array $attributes = null) { return $target->appendTo($this->getOwner(), $attributes); }