Documentation

StringLength extends Base
in package

Validator base class.

Table of Contents

Properties

$_MaxLength  : mixed

Methods

__construct()  : mixed
isValid()  : bool
Returns true if validation is successful
validate()  : bool

Properties

Methods

__construct()

public __construct(int $MaxLength) : mixed
Parameters
$MaxLength : int

isValid()

Returns true if validation is successful

public isValid(mixed $data) : bool
Parameters
$data : mixed
Return values
bool

validate()

protected validate(mixed $Data) : bool
Parameters
$Data : mixed
Return values
bool

        
On this page

Search results