public function LinkingMode()
    {
        /** @var Page_Controller $controller */
        $controller = Controller::curr();
        $params = $controller->getURLParams();

        return $params['ID'] === $this->URLSegment ? 'current' : 'link';
    }
public function LinkingMode()
    {
        /** @var Page_Controller $controller */
        $controller = Controller::curr();
        $params = $controller->getURLParams();

        return $params['ID'] === $this->URLSegment ? 'current' : 'link';
    }
public function LinkingMode ( ) { /** @var Page_Controller $controller */ $ controller = Controller :: curr ( ) ; $ params = $ controller -> getURLParams ( ) ; return $ params [ 'ID' ] === $ this -> URLSegment ? 'current' : 'link' ; }
Setup the LinkingMode for menu-items.

@return string
Setup the LinkingMode for menu - items .