public function getRight($name)
    {
        if (!isset($this->rights[$name])) {
            return false;
        }
        return $this->rights[$name];
    }
public function getRight($name)
    {
        if (!isset($this->rights[$name])) {
            return false;
        }
        return $this->rights[$name];
    }
public function getRight ( $ name ) { if ( ! isset ( $ this -> rights [ $ name ] ) ) { return false ; } return $ this -> rights [ $ name ] ; }
Return a specific right by name.

@param string $name

@return int|false
Return a specific right by name .