public function getLink($name, $relative = true)
    {
        $name = trim(strtolower($name));
        if (isset($this->links[$name])) {
            $link = $this->links[$name];

            if ($relative) {
                return $this->relativeUrl($link);
            }

            return $link;
        }

        return null;
    }
public function getLink($name, $relative = true)
    {
        $name = trim(strtolower($name));
        if (isset($this->links[$name])) {
            $link = $this->links[$name];

            if ($relative) {
                return $this->relativeUrl($link);
            }

            return $link;
        }

        return null;
    }
public function getLink ( $ name , $ relative = true ) { $ name = trim ( strtolower ( $ name ) ) ; if ( isset ( $ this -> links [ $ name ] ) ) { $ link = $ this -> links [ $ name ] ; if ( $ relative ) { return $ this -> relativeUrl ( $ link ) ; } return $ link ; } return null ; }
Get a link value
Get a link value