CsrfProtection
class CsrfProtection extends HiddenField
CSRF protection field.
Constants
PROTECTION |
|
Properties
Session | $session |
Methods
__construct($message)
No description
void
attached($parent)
This method will be called when the component becomes attached to Form.
void
setValue($value)
No description
void
loadHttpData()
Loads HTTP data.
string
getToken()
No description
Html|string
getControl()
Generates control's HTML element.
static bool
Details
at line 28
__construct($message)
No description
at line 36
protected void
attached($parent)
This method will be called when the component becomes attached to Form.
at line 49
void
setValue($value)
internal |
No description
at line 59
void
loadHttpData()
Loads HTTP data.
at line 68
string
getToken()
No description
at line 94
Html|string
getControl()
Generates control's HTML element.
at line 104
static bool
validateCsrf(CsrfProtection $control)
internal |
No description