\NetefxValidator
NetefxValidator
- Author: lx-berlin
Synopsis
class NetefxValidator
extends Validator
{
- // members
- protected $rules;
- protected string $javascriptValidationHandler = 'none';
- // methods
- public array getRules()
- public void setRules()
- public void __construct()
- public string javascript()
- public boolean php()
Hierarchy
Extends
- Validator
Members
protected
- $javascriptValidationHandler
- $rules
Methods
public
- __construct() — if the first parameter is not an array, or we have more than one parameter, collate all parameters to an array, otherwise use the passed array
- getRules()
- javascript() — javascript not implemented yet
- php() — calls validate() on all fields and rules
- setRules() — if the first parameter is not an array, or we have more than one parameter, collate all parameters to an array, otherwise use the passed array