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 | |
install () | |
update () | |
uninstall ($eid) | |
discover () | |
discover_install () | |
refreshManifestCache () | |
Fonctions membres publiques inherited from JAdapterInstance | |
__construct (&$parent, &$db, $options=array()) | |
getParent () | |
Fonctions membres publiques inherited from JObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
toString () |
Fonctions membres protégées | |
_install ($cname, $basePath, $clientId, &$element) |
Attributs protégés | |
$_core = false | |
Attributs protégés inherited from JAdapterInstance | |
$parent = null | |
$db = null | |
Attributs protégés inherited from JObject | |
$_errors = array() |
|
protected |
Install function that is designed to handle individual clients
string | $cname | Cname |
string | $basePath | The base name. |
integer | $clientId | The client id. |
object | &$element | The XML element. |
Références $clientId, $file, $files, $name, $row, $tag, JText\_(), JFolder\create(), elseif, JFile\exists(), JFilterInput\getInstance(), JTable\getInstance(), if, parent, JError\raiseWarning(), et JText\sprintf().
JInstallerLanguage::discover | ( | ) |
Custom discover method Finds language files
Références $extension, $language, JFolder\folders(), JTable\getInstance(), JPATH_ADMINISTRATOR, JPATH_SITE, et JApplicationHelper\parseXMLInstallFile().
JInstallerLanguage::discover_install | ( | ) |
Custom discover install method Basically updates the manifest cache and leaves everything alone
Références $client, JText\_(), JApplicationHelper\getClientInfo(), parent, JApplicationHelper\parseXMLInstallFile(), et JError\raiseWarning().
JInstallerLanguage::install | ( | ) |
Custom install method
Note: This behaves badly due to hacks made in the middle of 1.5.x to add the ability to install multiple distinct packs in one install. The preferred method is to use a package to install multiple language packs.
Références $client, $clientId, JText\_(), elseif, JApplicationHelper\getClientInfo(), JPATH_ADMINISTRATOR, JPATH_SITE, null, parent, JError\raiseWarning(), et JText\sprintf().
JInstallerLanguage::refreshManifestCache | ( | ) |
Refreshes the extension table cache
Références $client, JText\_(), JApplicationHelper\getClientInfo(), parent, JApplicationHelper\parseXMLInstallFile(), et JError\raiseWarning().
JInstallerLanguage::uninstall | ( | $eid | ) |
Custom uninstall method
string | $eid | The tag of the language to uninstall |
Références $client, $count, $db, $extension, $params, $path, $query, $user, $users, JText\_(), JFolder\delete(), JFolder\exists(), JApplicationHelper\getClientInfo(), JFactory\getDbo(), JTable\getInstance(), JComponentHelper\getParams(), JRegistry\loadString(), parent, JText\plural(), JError\raiseNotice(), et JError\raiseWarning().
JInstallerLanguage::update | ( | ) |
Custom update method
Références $client, $clientId, $file, $folder, $name, $row, $tag, JText\_(), JFile\exists(), JApplicationHelper\getClientInfo(), JFilterInput\getInstance(), JTable\getInstance(), if, null, parent, et JText\sprintf().
|
protected |