Phalcon\Mvc\Model\Behavior\NestedSet::insertAfter PHP Méthode

insertAfter() public méthode

Inserts node as next sibling of target.
public insertAfter ( Phalcon\Mvc\ModelInterface $target, array $attributes = null ) : boolean
$target Phalcon\Mvc\ModelInterface the target.
$attributes array list of attributes.
Résultat boolean
    public function insertAfter(ModelInterface $target, array $attributes = null)
    {
        return $this->addNode($target, $target->{$this->rightAttribute} + 1, 0, $attributes);
    }