Property | Type | Description | |
---|---|---|---|
$helper | string | Use formHidden view helper by default |
Property | Type | Description | |
---|---|---|---|
$_hash | mixed | Actual hash used. |
Method | Description | |
---|---|---|
__construct ( string | array | Zend_Config $spec, array | Zend_Config $options = null ) : void | Constructor | |
getHash ( ) : string | Retrieve CSRF token | |
getLabel ( ) : null | Override getLabel() to always be empty | |
initCsrfValidator ( ) : Zend_Form_Element_Hash | Initialize CSRF validator | |
render ( Zend_View_Interface $view = null ) : string | Render CSRF token in form |
public initCsrfValidator ( ) : Zend_Form_Element_Hash | ||
return | Zend_Form_Element_Hash |