◆ canDelete()
Method to test whether a record can be deleted.
- Paramètres
-
| object | $record | A record object. |
- Renvoie
- boolean True if allowed to delete the record. Defaults to the permission set in the component.
- Depuis
- 1.6
◆ canEditState()
Method to test whether a record can have its state changed.
- Paramètres
-
| object | $record | A record object. |
- Renvoie
- boolean True if allowed to change the state of the record. Defaults to the permission set in the component.
- Depuis
- 1.6
Références $user.
◆ 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|boolean A JForm object on success, false on failure
- Depuis
- 1.6
Références $form.
◆ getTable()
| getTable |
( |
|
$type = 'Client', |
|
|
|
$prefix = 'BannersTable', |
|
|
|
$config = array() |
|
) |
| |
Returns a reference to the a 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 JTable object
- Depuis
- 1.6
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.
◆ prepareTable()
Prepare and sanitise the table prior to saving.
- Paramètres
-
| JTable | $table | A JTable object. |
- Renvoie
- void
- Depuis
- 1.6
Références ENT_QUOTES.
◆ $typeAlias
| $typeAlias = 'com_banners.client' |
La documentation de cette classe a été générée à partir du fichier suivant :