Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
preflight ($type, $parent) | |
getInstances ($isModule) | |
getParam ($name, $id=0) | |
setParams ($paramArray=null, $type='edit', $id=0) | |
getItemArray ($element, $table, $column, $identifier) | |
removeFiles () | |
moveCliFiles () | |
Attributs protégés | |
$release | |
$paramTable | |
$extension | |
$deleteFiles = array() | |
$deleteFolders = array() | |
$cliScriptFiles = array() | |
$minimumPhp | |
$minimumJoomla | |
$allowDowngrades = false | |
Base install script for use by extensions providing helper methods for common behaviours.
getInstances | ( | $isModule | ) |
getItemArray | ( | $element, | |
$table, | |||
$column, | |||
$identifier | |||
) |
Builds a standard select query to produce better DRY code in this script. This should produce a single unique cell which is json encoded - it will then return an associated array with this data in.
string | $element | The element to get from the query |
string | $table | The table to search for the data in |
string | $column | The column of the database to search from |
mixed | $identifier | The integer id or the already quoted string |
getParam | ( | $name, | |
$id = 0 |
|||
) |
moveCliFiles | ( | ) |
Moves the CLI scripts into the CLI folder in the CMS
Références $file, $name, et JPATH_ROOT.
preflight | ( | $type, | |
$parent | |||
) |
Function called before extension installation/update/removal procedure commences
string | $type | The type of change (install, update or discover_install, not uninstall) |
InstallerAdapter | $parent | The class calling this method |
removeFiles | ( | ) |
Remove the files and folders in the given array from
Références $file, $folder, et JPATH_ROOT.
Sets parameter values in the extensions row of the extension table. Note that the this must be called separately for deleting and editing. Note if edit is called as a type then if the param doesn't exist it will be created
array | $paramArray | The array of parameters to be added/edited/removed |
string | $type | The type of change to be made to the param (edit/remove) |
integer | $id | The id of the item in the relevant table |
Références $db, $id, $name, $params, $query, $type, $value, elseif, et json_encode.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |