Application helper functions
- Depuis
- 1.5
static getClientInfo |
( |
|
$id = null , |
|
|
|
$byName = false |
|
) |
| |
|
static |
Gets information on a specific client id. This method will be useful in future versions when we start mapping applications in the database.
This method will return a client information array if called with no arguments which can be used to add custom application information.
- Paramètres
-
integer | string | null | $id | A client identifier |
boolean | $byName | If true, find the client by its name |
- Renvoie
- |array|void Object describing the client, array containing all the clients or void if $id not known
- Depuis
- 1.5
Références $client, $id, JPATH_ADMINISTRATOR, JPATH_API, JPATH_CLI, JPATH_INSTALLATION, JPATH_SITE, et null.
Référencé par InstallerExtension\__construct(), PackageAdapter\_getExtensionId(), CollectionAdapter\_startElement(), TemplateModel\child(), TemplateModel\copy(), Installer\copyManifest(), TemplateModel\createOverride(), ModuleAdapter\discover(), TemplateAdapter\discover(), LanguageAdapter\discover_install(), ExtensionAdapter\findUpdate(), InstalledModel\getClient(), LanguagesModel\getClient(), PlgSampledataMultilang\getClient(), TemplateModel\getCoreFile(), TemplateModel\getCoreList(), InstalledModel\getData(), TemplateModel\getFiles(), MenutypesModel\getFolders(), TemplateModel\getFont(), TemplatestyleField\getGroups(), ModulelayoutField\getInput(), ComponentlayoutField\getInput(), StyleModel\getItem(), ModuleModel\getItem(), TemplatesModel\getItems(), PositionsModel\getItems(), SelectModel\getItems(), TemplateModel\getOverridesList(), MenutypesModel\getTypeOptionsByComponent(), MenutypesModel\getTypeOptionsFromLayouts(), TemplateModel\getUpdatedList(), LanguageAdapter\install(), Installer\parseFiles(), Installer\parseLanguages(), PluginAdapter\prepareDiscoverInstall(), TemplateAdapter\prepareDiscoverInstall(), ModuleAdapter\prepareDiscoverInstall(), StyleModel\preprocessForm(), ModuleModel\preprocessForm(), ItemModel\preprocessForm(), ModuleAdapter\refreshManifestCache(), PluginAdapter\refreshManifestCache(), TemplateAdapter\refreshManifestCache(), LanguageAdapter\refreshManifestCache(), ComponentAdapter\refreshManifestCache(), LanguageAdapter\removeExtensionFiles(), Installer\removeFiles(), LanguageAdapter\resetUserLanguage(), ModulepositionField\setup(), ChromestyleField\setup(), TemplateAdapter\setupInstallPaths(), ModuleAdapter\setupInstallPaths(), LanguageAdapter\setupUninstall(), TemplateAdapter\setupUninstall(), ModuleAdapter\setupUninstall(), Templates\thumb(), Templates\thumbModal(), et LanguageAdapter\update().