public function prependTo($node, $runValidation = true, $attributes = null) {
        $this->operation = self::OPERATION_PREPEND_TO;
        $this->node = $node;

        return $this->owner->save($runValidation, $attributes);
    }
public function prependTo($node, $runValidation = true, $attributes = null) {
        $this->operation = self::OPERATION_PREPEND_TO;
        $this->node = $node;

        return $this->owner->save($runValidation, $attributes);
    }
public function prependTo ( $ node , $ runValidation = true , $ attributes = null ) { $ this -> operation = self :: OPERATION_PREPEND_TO ; $ this -> node = $ node ; return $ this -> owner -> save ( $ runValidation , $ attributes ) ; }
Creates a node as the first child of the target node if the active
record is new or moves it as the first child of the target node.
@param ActiveRecord $node
@param boolean $runValidation
@param array $attributes
@return boolean
Creates a node as the first child of the target node if the active record is new or moves it as the first child of the target node .