Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Redaxscript
Validator
Alias
PHP Class Redaxscript\Validator\Alias
Since:
2.2.0
Author:
Henry Ruhs
Author:
Sven Weingartner
Inheritance:
implements
Redaxscript\Validator\ValidatorInterface
Show file
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 property
array of default alias
protected
array
$_defaultArray
return
array