Property | Type | Description | |
---|---|---|---|
$fieldName |
Property | Type | Description | |
---|---|---|---|
$name | |||
$token | CSRF token |
Method | Description | |
---|---|---|
__construct ( $name = '' ) | ||
__toString ( ) | ||
getHtml ( ) | HTML render | |
getToken ( ) | Get the token value | |
posted ( $method = 'post' ) | Tell if the given form was posted |
Method | Description | |
---|---|---|
generateToken ( ) | Generate the token or get it from the session |
protected generateToken ( ) |