◆ __construct()
| __construct |
( |
|
$config = array() | ) |
|
Constructor.
- Paramètres
-
| array | $config | An optional associative array of configuration settings. |
Références $config.
◆ cleanCache()
| cleanCache |
( |
|
$group = null, |
|
|
|
$clientId = 0 |
|
) |
| |
|
protected |
Custom clean cache method, plugins are cached in 2 places for different clients.
- Paramètres
-
| string | $group | Cache group name. |
| integer | $clientId | Application client id. |
- Renvoie
- void
- Depuis
- 1.6
◆ getForm()
| getForm |
( |
|
$data = array(), |
|
|
|
$loadData = true |
|
) |
| |
Method to get the record form.
- Paramètres
-
| array | $data | Data for the form. |
| boolean | $loadData | True if the form is to load its own data (default case), false if not. |
- Renvoie
- JForm A JForm object on success, false on failure.
- Depuis
- 1.6
Références $data, $folder, $form, $item, et JPATH_PLUGINS.
◆ getHelp()
Get the necessary data to load an item help screen.
- Renvoie
- object An object with key, url, and local properties for loading the item help screen.
- Depuis
- 1.6
◆ getItem()
Method to get a single record.
- Paramètres
-
| integer | $pk | The id of the primary key. |
- Renvoie
- mixed Object on success, false on failure.
Références $path, $return, JPATH_PLUGINS, et null.
◆ getReorderConditions()
| getReorderConditions |
( |
|
$table | ) |
|
|
protected |
A protected method to get a set of ordering conditions.
- Paramètres
-
| object | $table | A record object. |
- Renvoie
- array An array of conditions to add to add to ordering queries.
- Depuis
- 1.6
Références $condition.
◆ getTable()
| getTable |
( |
|
$type = 'Extension', |
|
|
|
$prefix = 'JTable', |
|
|
|
$config = array() |
|
) |
| |
Returns a reference to the Table object, always creating it.
- Paramètres
-
| string | $type | The table type to instantiate. |
| string | $prefix | A prefix for the table class name. Optional. |
| array | $config | Configuration array for model. Optional. |
- Renvoie
- JTable A database object
Références $config, $prefix, et $type.
◆ loadFormData()
Method to get the data that should be injected in the form.
- Renvoie
- mixed The data for the form.
- Depuis
- 1.6
Références $data.
◆ populateState()
Auto-populate the model state.
Note. Calling getState in this method will result in recursion.
- Renvoie
- void
- Depuis
- 1.6
Références $app.
◆ preprocessForm()
| preprocessForm |
( |
JForm |
$form, |
|
|
|
$data, |
|
|
|
$group = 'content' |
|
) |
| |
|
protected |
Preprocess the form.
- Paramètres
-
| JForm | $form | A form object. |
| mixed | $data | The data expected for the form. |
| string | $group | Cache group name. |
- Renvoie
- mixed True if successful.
- Exceptions
-
| Exception | if there is an error in the form event. |
- Depuis
- 1.6
Références $app, $data, $db, $folder, $form, $lang, $query, jimport(), JPATH_ADMINISTRATOR, JPATH_PLUGINS, et null.
◆ save()
Override method to save the form data.
- Paramètres
-
- Renvoie
- boolean True on success.
- Depuis
- 1.6
Références $data.
◆ $_cache
◆ $helpKey
| $helpKey = 'JHELP_EXTENSIONS_PLUGIN_MANAGER_EDIT' |
|
protected |
◆ $helpURL
La documentation de cette classe a été générée à partir du fichier suivant :