public static function checkHrefAccess($href)
    {
        if (!$rule = UrlHelper::rule($href)) {
            return true;
        }
        return AuthItem::checkAccess($rule);
    }
public static function checkHrefAccess($href)
    {
        if (!$rule = UrlHelper::rule($href)) {
            return true;
        }
        return AuthItem::checkAccess($rule);
    }
public static function checkHrefAccess ( $ href ) { if ( ! $ rule = UrlHelper :: rule ( $ href ) ) { return true ; } return AuthItem :: checkAccess ( $ rule ) ; }
Checks link access with rbac AuthItem.
@param string $href url.
@return boolean whether link is accessable.
Checks link access with rbac AuthItem .