Check
Check PHP Methods
adminPageFileName(string $fileName, \WMT\Container $container) v5
Checks if admin page file name is valid
PARAMETERS:
$fileName = string, File name
$container = object
RETURN VALUE:
VOID domainName(string $domainName) v5
Throws an error if domain name is not valid
PARAMETERS:
$domainName = string, domain name
RETURN VALUE:
VOID email(string $email) v5
Throws an error if email address is not valid
PARAMETERS:
$email = string, Email address
RETURN VALUE:
VOID phone(string $phone) v5
Throws an error if phone number is not valid
PARAMETERS:
$phone = string, Phone Number
RETURN VALUE:
VOID spamInput(\WMT\Container $container, string $url) v5
Checks if input value is a spam or real
PARAMETERS:
$container = object
$url = The URL of the page to redirect to if the input was spam
RETURN VALUE:
VOID text(string $text) v5
Throws an error if text is not valid
PARAMETERS:
$text = string, Text content
RETURN VALUE:
VOID url(string $url) v5
Throws an error if URL is not valid
PARAMETERS:
$url = string, URL
RETURN VALUE:
VOID userAgentHack(\WMT\Container $container) v5
checks User Agent Hack Attempts
PARAMETERS:
$container = object
RETURN VALUE:
VOID __construct(\WMT\Filter\Validate $validate) v5
initialize validate object checker
PARAMETERS:
$validate = object
RETURN VALUE:
VOIDCheck PHP Variables
$validate v5
Validate object