Web Marketing Tool
Reseller
WMT .
Sanitize
Referred By: Web Marketing Tool
Login

Sanitize



Extends: FilterInterface


Sanitize PHP Methods

alphaNumeric(string $text) v5

filter text remove all characters that is not alphanumeric
PARAMETERS:
$text = string, Text content
RETURN VALUE:
string = the text after removing all characters that is not alphanumeric

country(string $country) v5

Filter country to make it a valid country name
PARAMETERS:
$country = string, Country name
RETURN VALUE:
string = country name after filtering

directory(string $directory) v5

Filter directory (URL alias) removing all illegal characters
PARAMETERS:
$directory = string, Directory (URL alias)
RETURN VALUE:
string = Directory after removing all illegal characters

domainName(string $domainName) v5

Filter domain names remove any illegal characters
PARAMETERS:
$domainName = string, Domain name
RETURN VALUE:
string = domain name after removing the illegal characters

email(string $email) v5

Filter email removing any all illegal characters
PARAMETERS:
$email = string, Email address
RETURN VALUE:
string = Email address after removing the illegal characters

phone(string $phone) v5

Filter phone numbers by removing all illegal characters
PARAMETERS:
$phone = string, Phone number
RETURN VALUE:
string = Phone number after removing all illegal characters

removeXSS(string $rContent) v5

Remove XSS script from content
PARAMETERS:
$rContent = string, content to filter
RETURN VALUE:
string = content after filtering

text(string $text) v5

Filter text removing all illegal characters
PARAMETERS:
$text = string, Text content
RETURN VALUE:
string = text after filtering

url(string $url) v5

Filter URL removing all illegal characters
PARAMETERS:
$url = string, URL to filter
RETURN VALUE:
string = URL after removing all illegal characters

__construct(\WMT\Filter\Validate $validate) v5

initialize validate object sensitization
PARAMETERS:
$validate = object
RETURN VALUE:
VOID

Sanitize PHP Variables

$validate v5

Validate object



DMCA.com Protection Status Authorize.net
Valid HTML! Valid CSS!


Reseller: WMT
|
Login
(502) 225-3237