PHP Class Pop\Form\Element\Csrf

Author: Nick Sagona, III ([email protected])
Inheritance: extends Pop\Form\Element
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$token array Current token data

Méthodes publiques

Méthode Description
__construct ( string $name, string $value = null, integer $expire = 300, string $indent = null ) : Csrf Constructor

Méthodes protégées

Méthode Description
setValidator ( ) : void Method to set the validator

Method Details

__construct() public méthode

Instantiate the CSRF form element object.
public __construct ( string $name, string $value = null, integer $expire = 300, string $indent = null ) : Csrf
$name string
$value string
$expire integer
$indent string
Résultat Csrf

setValidator() protected méthode

Method to set the validator
protected setValidator ( ) : void
Résultat void

Property Details

$token protected_oe property

Current token data
protected array $token
Résultat array