public function setUri($uri)
    {
        if (null !== $uri && !is_string($uri)) {
            require_once 'Zend/Navigation/Exception.php';
            throw new Zend_Navigation_Exception(
                    'Invalid argument: $uri must be a string or null');
        }

        $this->_uri = $uri;
        return $this;
    }
public function setUri($uri)
    {
        if (null !== $uri && !is_string($uri)) {
            require_once 'Zend/Navigation/Exception.php';
            throw new Zend_Navigation_Exception(
                    'Invalid argument: $uri must be a string or null');
        }

        $this->_uri = $uri;
        return $this;
    }
public function setUri ( $ uri ) { if ( null !== $ uri && ! is_string ( $ uri ) ) { require_once 'Zend/Navigation/Exception.php' ; throw new Zend_Navigation_Exception ( 'Invalid argument: $uri must be a string or null' ) ; } $ this -> _uri = $ uri ; return $ this ; }
Sets page URI

@param  string $uri                page URI, must a string or null
@return Zend_Navigation_Page_Uri   fluent interface, returns self
@throws Zend_Navigation_Exception  if $uri is invalid
Sets page URI