AnsPress_Validation::__construct( array $args = array() )
Description #
Initialize the class
Parameters #
- $argsarray (Optional) Default value: array()
Source #
File: includes/class/validation.php
public function __construct($args = array()) { if ( empty( $args ) ) { return; } $this->args = $args; $this->name_to_key(); $this->fields_to_include(); $this->actions(); }
Expand full source code Collapse full source code View on GitHub: includes/class/validation.php:25
Add your comment