Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe ApplicationHelper

Fonctions membres publiques statiques

static getComponentName ($default=null)
 
static getHash ($seed)
 
static stringURLSafe ($string, $language='')
 
static getClientInfo ($id=null, $byName=false)
 
static addClientInfo ($client)
 

Attributs protégés statiques

static $_clients = array()
 

Description détaillée

Application helper functions

Depuis
1.5

Documentation des fonctions membres

◆ addClientInfo()

static addClientInfo (   $client)
static

Adds information for a client.

Paramètres
mixed$clientA client identifier either an array or object
Renvoie
boolean True if the information is added. False on error
Depuis
1.6

Références $client, et $info.

◆ getClientInfo()

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$idA client identifier
boolean$byNameIf 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().

◆ getComponentName()

static getComponentName (   $default = null)
static

Return the name of the request component [main component]

Paramètres
string$defaultThe default option
Renvoie
string Option (e.g. com_something)
Depuis
1.6

Références $default, $input, $option, et Factory\getApplication().

Référencé par HtmlView\_setPath(), Help\createUrl(), HtmlView\display(), et FileLayout\setComponent().

◆ getHash()

static getHash (   $seed)
static

◆ stringURLSafe()

static stringURLSafe (   $string,
  $language = '' 
)
static

Documentation des champs

◆ $_clients

$_clients = array()
staticprotected

La documentation de cette classe a été générée à partir du fichier suivant :