Baum\Node::getRight PHP Method

getRight() public method

Get the value of the model's "right" field.
public getRight ( ) : integer
return integer
    public function getRight()
    {
        return $this->getAttribute($this->getRightColumnName());
    }

Usage Example

Ejemplo n.º 1
0
Archivo: Move.php Proyecto: yajra/baum
 /**
  * Check wether there should be changes in the downward tree structure.
  *
  * @return boolean
  */
 protected function hasChange()
 {
     return !($this->bound1() == $this->node->getRight() || $this->bound1() == $this->node->getLeft());
 }