You are here

public static function MostPopularService::fetchSorted in Drupal Most Popular 6

Same name and namespace in other branches
  1. 7 classes/services.php \MostPopularService::fetchSorted()

Fetches all of the configured services. The enabled services will appear first, sorted by weight, followed by the disabled services sorted by module.

3 calls to MostPopularService::fetchSorted()
MostPopularService::reset in classes/services.php
Resets the titles for each of the services to the defaults.
mostpopular_menu in ./mostpopular.module
Implements hook_menu().
mostpopular_services_form in ./mostpopular.admin.inc

File

classes/services.php, line 252
Defines a wrapper for the mostpopular_services table.

Class

MostPopularService
@file Defines a wrapper for the mostpopular_services table.

Code

public static function fetchSorted() {
  self::fetchAvailable();
  return array_merge(self::$enabledList, self::$disabledList);
}