The Field controller
- Depuis
- 3.7.0
◆ __construct()
__construct |
( |
|
$config = array() | ) |
|
◆ allowAdd()
allowAdd |
( |
|
$data = array() | ) |
|
|
protected |
Method override to check if you can add a new record.
- Paramètres
-
array | $data | An array of input data. |
- Renvoie
- boolean
- Depuis
- 3.7.0
◆ allowEdit()
allowEdit |
( |
|
$data = array() , |
|
|
|
$key = 'id' |
|
) |
| |
|
protected |
Method override to check if you can edit an existing record.
- Paramètres
-
array | $data | An array of input data. |
string | $key | The name of the key for the primary key. |
- Renvoie
- boolean
- Depuis
- 1.6
Références $data, $key, et $user.
◆ batch()
Method to run batch operations.
- Paramètres
-
- Renvoie
- boolean True if successful, false otherwise and internal error is set.
- Depuis
- 3.7.0
◆ getRedirectToItemAppend()
getRedirectToItemAppend |
( |
|
$recordId = null , |
|
|
|
$urlVar = 'id' |
|
) |
| |
|
protected |
Gets the URL arguments to append to an item redirect.
- Paramètres
-
integer | $recordId | The primary key id for the item. |
string | $urlVar | The name of the URL variable for the id. |
- Renvoie
- string The arguments to append to the redirect URL.
- Depuis
- 3.7.0
◆ getRedirectToListAppend()
getRedirectToListAppend |
( |
| ) |
|
|
protected |
Gets the URL arguments to append to a list redirect.
- Renvoie
- string The arguments to append to the redirect URL.
- Depuis
- 3.7.0
◆ postSaveHook()
postSaveHook |
( |
JModelLegacy |
$model, |
|
|
|
$validData = array() |
|
) |
| |
|
protected |
Function that allows child controller access to model data after the data has been saved.
- Paramètres
-
JModelLegacy | $model | The data model object. |
array | $validData | The validated data. |
- Renvoie
- void
- Depuis
- 3.7.0
Références $item, et Registry\loadArray().
◆ $component
◆ $internalContext
◆ $text_prefix
$text_prefix = 'COM_FIELDS_FIELD' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :