Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques statiques | |
static | getComponentName ($default=null) |
static | getClientInfo ($id=null, $byName=false) |
static | addClientInfo ($client) |
static | getPath ($varname, $user_option=null) |
static | parseXMLInstallFile ($path) |
static | parseXMLLangMetaFile ($path) |
Fonctions membres protégées statiques | |
static | _checkPath ($path, $checkAdmin=1) |
Attributs protégés statiques | |
static | $_clients = null |
|
staticprotected |
Tries to find a file in the administrator or site areas
string | $path | A file name |
integer | $checkAdmin | 0 to check site only, 1 to check site and admin, -1 to check admin only |
Références $file, $path, elseif, JPATH_ADMINISTRATOR, JPATH_SITE, et null.
|
static |
Adds information for a client.
mixed | $client | A client identifier either an array or object |
Références $client.
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.
integer | $id | A client identifier |
boolean | $byName | If True, find the client by its name |
Références $client, $id, JPATH_ADMINISTRATOR, JPATH_INSTALLATION, JPATH_SITE, et null.
Référencé par JExtension\__construct(), JInstallerPackage\_getExtensionID(), JUpdaterCollection\_startElement(), TemplatesModelTemplate\copy(), JInstaller\copyManifest(), JInstallerTemplate\discover(), JInstallerModule\discover(), JInstallerTemplate\discover_install(), JInstallerModule\discover_install(), JInstallerLanguage\discover_install(), JInstallerPlugin\discover_install(), JInstallerComponent\discover_install(), TemplatesViewPrevuuw\display(), JUpdaterExtension\findUpdate(), LanguagesModelInstalled\getClient(), TemplatesModelTemplate\getFiles(), JFormFieldTemplateStyle\getGroups(), JFormFieldModulePosition\getInput(), JFormFieldModuleLayout\getInput(), JFormFieldComponentLayout\getInput(), JPathway\getInstance(), JMenu\getInstance(), JRouter\getInstance(), JApplication\getInstance(), TemplatesModelStyle\getItem(), ModulesModelModule\getItem(), TemplatesModelTemplates\getItems(), ModulesModelPositions\getItems(), ModulesModelSelect\getItems(), TemplatesModelSource\getSource(), JAdministrator\initialise(), JSite\initialise(), JInstallerLanguage\install(), JInstallerTemplate\install(), JInstallerModule\install(), JInstaller\parseFiles(), JInstaller\parseLanguages(), JInstaller\parseMedia(), CacheModelCache\populateState(), PluginsModelPlugin\preprocessForm(), TemplatesModelStyle\preprocessForm(), ModulesModelModule\preprocessForm(), JInstallerTemplate\refreshManifestCache(), JInstallerLanguage\refreshManifestCache(), JInstallerModule\refreshManifestCache(), JInstallerPlugin\refreshManifestCache(), JInstallerComponent\refreshManifestCache(), JInstaller\removeFiles(), TemplatesModelSource\save(), JHtmlTemplates\thumb(), JInstallerTemplate\uninstall(), JInstallerPackage\uninstall(), JInstallerLanguage\uninstall(), JInstallerModule\uninstall(), et JInstallerLanguage\update().
|
static |
Return the name of the request component [main component]
string | $default | The default option |
Références JRequest\getCmd(), et JRequest\setVar().
Référencé par JView\_setPath(), et JHelp\createURL().
|
static |
Get a path
string | $varname | Identify location or type of xml |
string | $user_option | Option (e.g. com_something) used to find path. |
Références $check, $name, $parts, $path, DIRECTORY_SEPARATOR, JRequest\getCmd(), JFilterInput\getInstance(), JApplication\getTemplate(), et null.
Référencé par JComponentHelper\renderComponent().
|
static |
Parse a XML install manifest file.
XML Root tag should be 'install' except for languages which use meta file.
string | $path | Full path to XML file. |
Références $data, $path, JText\_(), JLog\add(), JFactory\getXML(), et JLog\WARNING.
Référencé par JInstallerLibrary\discover(), JInstallerTemplate\discover(), JInstallerLanguage\discover(), JInstallerModule\discover(), JInstallerPlugin\discover(), JInstallerComponent\discover(), JInstallerLibrary\discover_install(), JInstallerTemplate\discover_install(), JInstallerModule\discover_install(), JInstallerLanguage\discover_install(), JInstallerPlugin\discover_install(), JInstallerComponent\discover_install(), JInstaller\generateManifestCache(), JInstallerLibrary\refreshManifestCache(), JInstallerPackage\refreshManifestCache(), JInstallerTemplate\refreshManifestCache(), JInstallerLanguage\refreshManifestCache(), JInstallerModule\refreshManifestCache(), JInstallerFile\refreshManifestCache(), JInstallerPlugin\refreshManifestCache(), et JInstallerComponent\refreshManifestCache().
|
static |
Parse a XML language meta file.
XML Root tag for languages which is meta file.
string | $path | Full path to XML file. |
Références $data, $path, JText\_(), et JFactory\getXML().
Référencé par LanguagesModelInstalled\getData().
|
staticprotected |