public static function HasPermission($strPermissionName, $intProjectId = null, $intLanguageId = null) { if (self::$User instanceof NarroUser) { return self::$User->hasPermission($strPermissionName, $intProjectId, $intLanguageId); } else { return false; } }