PHP Class Redaxscript\Validator\Alias

Since: 2.2.0
Author: Henry Ruhs
Author: Sven Weingartner
Inheritance: implements Redaxscript\Validator\ValidatorInterface
Datei anzeigen Open project: redaxmedia/redaxscript Class Usage Examples

Protected Properties

Property Type Description
$_defaultArray array array of default alias

Public Methods

Method Description
validate ( string $alias = null, integer $mode ) : integer validate the alias

Method Details

validate() public method

validate the alias
Since: 2.2.0
public validate ( string $alias = null, integer $mode ) : integer
$alias string alias for routes and users
$mode integer switch between general and default validation
return integer

Property Details

$_defaultArray protected_oe property

array of default alias
protected array $_defaultArray
return array