public static  function getCurrentParam($paramKey)
    {
        if(self::$currentMenuLink) {
            if (isset(self::$currentMenuLink->params->$paramKey)) {
                return self::$currentMenuLink->params->$paramKey;
            }
        }
        return null;
    }
public static  function getCurrentParam($paramKey)
    {
        if(self::$currentMenuLink) {
            if (isset(self::$currentMenuLink->params->$paramKey)) {
                return self::$currentMenuLink->params->$paramKey;
            }
        }
        return null;
    }
public static function getCurrentParam ( $ paramKey ) { if ( self :: $ currentMenuLink ) { if ( isset ( self :: $ currentMenuLink -> params -> $ paramKey ) ) { return self :: $ currentMenuLink -> params -> $ paramKey ; } } return null ; }
Get a param from current MenuLink

@param  string $paramKey
@return string|null
Get a param from current MenuLink