Phalcon\Mvc\Model\Behavior\NestedSet::insertBefore PHP Метод

insertBefore() публичный Метод

Inserts node as previous sibling of target.
public insertBefore ( Phalcon\Mvc\ModelInterface $target, array $attributes = null ) : boolean
$target Phalcon\Mvc\ModelInterface the target.
$attributes array list of attributes.
Результат boolean
    public function insertBefore(ModelInterface $target, array $attributes = null)
    {
        return $this->addNode($target, $target->{$this->leftAttribute}, 0, $attributes);
    }