Phalcon\Mvc\Model\Behavior\NestedSet::insertAfter PHP 메소드

insertAfter() 공개 메소드

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.
리턴 boolean
    public function insertAfter(ModelInterface $target, array $attributes = null)
    {
        return $this->addNode($target, $target->{$this->rightAttribute} + 1, 0, $attributes);
    }