You are here

function apps_apps_all in Apps 7

Retrieve apps from all servers.

Parameters

arrray $condition: An array of key/values to filter the apps

bool $add_theme: If TRUE apps_apps_add_theme will be called when done getting apps

Return value

array An array of app info arrays

1 call to apps_apps_all()
apps_app_module_name_load in ./apps.module
Path object loader for an App via machine name only.

File

./apps.manifest.inc, line 154
Handles pulling and processing of app data from the server

Code

function apps_apps_all($condition = array(), $add_theme = FALSE) {
  $apps = array();
  foreach (apps_servers() as $app_server) {
    $apps = array_merge($apps, apps_apps($app_server, $condition, $add_theme));
  }
  return $apps;
}