CsrfProtection
class CsrfProtection extends HiddenField
CSRF protection field.
Constants
PROTECTION |
|
Properties
Session | $session |
Methods
__construct($errorMessage)
No description
void
attached($parent)
This method will be called when the component becomes attached to Form.
void
loadHttpData()
Loads HTTP data.
string
getToken()
No description
Html|string
getControl()
Generates control's HTML element.
static bool
Details
at line 27
__construct($errorMessage)
No description
at line 37
protected void
attached($parent)
This method will be called when the component becomes attached to Form.
at line 50
IControl
setValue($value)
internal |
No description
at line 60
void
loadHttpData()
Loads HTTP data.
at line 69
string
getToken()
No description
at line 95
Html|string
getControl()
Generates control's HTML element.
at line 105
static bool
validateCsrf(CsrfProtection $control)
internal |
No description