JHtmlForm
Utility class for form elements
abstract
since |
1.5 |
---|---|
package |
Joomla.Libraries |
Methods
csrf
Add CSRF form token to Joomla script options that developers can get it by Javascript.
csrf(string $name = 'csrf.token') : void
static
since |
3.8.0 |
---|
Arguments
- $name
string
The script option key name.
token
Displays a hidden token field to reduce the risk of CSRF exploits
token(array $attribs = array()) : string
static
Use in conjunction with JSession::checkToken()
see | \JSession::checkToken() |
---|---|
since |
1.5 |
Arguments
- $attribs
array
Input element attributes.
Response
string
A hidden input field with a token
Properties
loaded
Array containing information for loaded files.
static
since |
3.8.0 |
---|
Type(s)
array