InputRules extends StickyRules
Table of Contents
- alpha() : bool
- Evaulate alpha.
- email() : bool
- Evaulate email.
- float() : bool
- Evaulate float.
- int() : bool
- Evaulate int.
- ip() : bool
- Evaulate ip.
- ipv6() : bool
- Evaulate IPv6.
- notBeEmpty() : bool
- Evaulate required.
- removeSpaces() : value
- Remove spaces.
- required() : bool
- Evaulate required.
- string() : bool
- Evaulate string.
- subnet() : bool
- Evaulate ipv4 subnet.
Methods
alpha()
Evaulate alpha.
public
alpha( $value) : bool
Parameters
Return values
bool —email()
Evaulate email.
public
email( $value) : bool
Parameters
Return values
bool —float()
Evaulate float.
public
float( $value) : bool
Parameters
Return values
bool —int()
Evaulate int.
public
int( $value) : bool
Parameters
Return values
bool —ip()
Evaulate ip.
public
ip( $value) : bool
Parameters
Return values
bool —ipv6()
Evaulate IPv6.
public
ipv6( $value) : bool
Parameters
Return values
bool —notBeEmpty()
Evaulate required.
public
notBeEmpty( $value) : bool
Parameters
Return values
bool —removeSpaces()
Remove spaces.
public
removeSpaces( $value) : value
Parameters
Return values
value —required()
Evaulate required.
public
required( $value) : bool
Parameters
Return values
bool —string()
Evaulate string.
public
string( $value) : bool
Parameters
Return values
bool —subnet()
Evaulate ipv4 subnet.
public
subnet( $value) : bool