public function url()
    {
        if (!is_null($this->href)) {
            return $this->href;
        } elseif (isset($this->path['url'])) {
            return $this->getUrl();
        } elseif (isset($this->path['route'])) {
            return $this->getRoute();
        } elseif (isset($this->path['action'])) {
            return $this->getControllerAction();
        }

        return null;
    }
public function url()
    {
        if (!is_null($this->href)) {
            return $this->href;
        } elseif (isset($this->path['url'])) {
            return $this->getUrl();
        } elseif (isset($this->path['route'])) {
            return $this->getRoute();
        } elseif (isset($this->path['action'])) {
            return $this->getControllerAction();
        }

        return null;
    }
public function url ( ) { if ( ! is_null ( $ this -> href ) ) { return $ this -> href ; } elseif ( isset ( $ this -> path [ 'url' ] ) ) { return $ this -> getUrl ( ) ; } elseif ( isset ( $ this -> path [ 'route' ] ) ) { return $ this -> getRoute ( ) ; } elseif ( isset ( $ this -> path [ 'action' ] ) ) { return $ this -> getControllerAction ( ) ; } return null ; }
Return the URL for the link

@return string|null
Return the URL for the link