|
| setup (\SimpleXMLElement $element, $value, $group=null) |
|
| __get ($name) |
|
| __set ($name, $value) |
|
| setup (\SimpleXMLElement $element, $value, $group=null) |
|
| __construct ($form=null) |
|
| __get ($name) |
|
| __set ($name, $value) |
|
| setForm (Form $form) |
|
| setup (\SimpleXMLElement $element, $value, $group=null) |
|
| setValue ($value) |
|
| getAttribute ($name, $default=null) |
|
| getDataAttributes () |
|
| renderDataAttributes () |
|
| render ($layoutId, $data=array()) |
|
| renderField ($options=array()) |
|
| filter ($value, $group=null, Registry $input=null) |
|
| validate ($value, $group=null, Registry $input=null) |
|
| postProcess ($value, $group=null, Registry $input=null) |
|
| setDatabase (DatabaseInterface $db) |
|
Joomlatoken field class
- Depuis
- 4.0.0
◆ getInput()
◆ getLayoutData()
Get the data for the layout
- Renvoie
- array
- Depuis
- 4.0.0
Références $data, et value.
◆ getLayoutPaths()
◆ getTokenForDisplay()
getTokenForDisplay |
( |
string |
$tokenSeed | ) |
|
|
private |
◆ setup()
setup |
( |
\SimpleXMLElement |
$element, |
|
|
|
$value, |
|
|
|
$group = null |
|
) |
| |
Method to attach a Form object to the field.
- Paramètres
-
\SimpleXMLElement | $element | The SimpleXMLElement object representing the <field> tag for the form field object. |
mixed | $value | The form field value to validate. |
string | $group | The field name group control value. This acts as an array container for the field. For example if the field has name="foo" and the group value is set to "bar" then the full field name would end up being "bar[foo]". |
- Renvoie
- boolean True on success.
- Voir également
- FormField::setup()
- Depuis
- 4.0.0
Security and privacy precaution: do not display the token field when the user being edited is not the same as the logged in user. Tokens are conceptually a combination of a username and password, therefore they should be treated in the same mode of confidentiality and privacy as passwords i.e. you can reset them for other users but NOT be able to see them, thus preventing impersonation attacks by a malicious administrator.
Références $userId, $value, et Factory\getUser().
◆ $layout
$layout = 'plugins.user.token.token' |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :