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

Example #1
0
File: Move.php Project: 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());
 }