/** * @param string $json_argument_array * @return integer * @throws BaseUserAccessDeniedException */ public static function count_registry($json_argument_array) { global $user; if ($user->is_admin()) { return System_Wrapper::count_base_registry(); } else { throw new BaseUserAccessDeniedException(); } }
/** * @return integer * @throws BaseUserAccessDeniedException */ public static function count_includes() { global $user; if ($user->is_admin()) { return System_Wrapper::count_base_include(); } else { throw new BaseUserAccessDeniedException(); } }