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

Get



Extends: AbstractInput


Get PHP Methods

bool(string $variableName) v5

filter validates value as a boolean option
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
RETURN VALUE:
bool = True if the variable is a valid boolean value, false otherwise

convertFileValue(string $fileValue) v5

converts a file value using base64 decoder
PARAMETERS:
$fileValue = string, File value
RETURN VALUE:
string = File value after converting it using base64 decoder

email(string $variableName) v5

Filter and validate an email address
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
RETURN VALUE:
string = Email address after filtering

fileValue() v5

Gets a file value for an input
PARAMETERS:
NONE
RETURN VALUE:
string = File value

filterInput(string $variableName, $filterVar) v5

Filter an input value using different filter types
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
$filterVar = string, PHP filter variable method
RETURN VALUE:
mixed = The value after filtering

float(string $variableName, int $invalidAction = -1) v5

Filter and validate a float variable
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
$invalidAction = int, 0 = Return 0; 1 = wmtError; 2 = die(); 3 = return null; 4 = return 1
RETURN VALUE:
string = the value after validation

getEditor() v5

Gets WYSIWYG editor status
PARAMETERS:
NONE
RETURN VALUE:
string = no if the editor is not enabled, yes if enabled

getInput(string $variableName, int $invalidAction = -1, $filterType = FILTER_VALIDATE_INT) v5

Filter and validate a variable using php filtering
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
$invalidAction = int, 0 = Return 0; 1 = wmtError; 2 = die(); 3 = return null; 4 = return 1
$filterType = string, PHP filter type
RETURN VALUE:
string = the value after filtering

getReferrerID(\WMT\MySQL $mysqli, \WMT\Input\Cookie $cookie, \WMT\Settings\Core $coreSettings) v5

Get visitor referrer ID
PARAMETERS:
$mysqli = object
$cookie = object
$coreSettings = object
RETURN VALUE:
int = Referrer ID

getReferrerUsername(\WMT\MySQL $mysqli, \WMT\Input\Cookie $cookie, \WMT\Settings\Core $coreSettings) v5

Gets current visitor referral username
PARAMETERS:
$mysqli = object
$cookie = object
$coreSettings = object
RETURN VALUE:
string = referrer username

has(string $variableName) v5

Checks if a variable exists in $_GET super global
PARAMETERS:
$variableName = string, variable name to check
RETURN VALUE:
bool = True if the variable exists in $_GET, false otherwise

html(string $variableName) v5

Get's html, filter it to make it safe for embed
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
RETURN VALUE:
string = HTML content after filtering

int(string $variableName, int $invalidAction = -1) v5

Filter and validate an integer variable
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
$invalidAction = int, 0 = Return 0; 1 = wmtError; 2 = die(); 3 = return null; 4 = return 1
RETURN VALUE:
string = the value after validation

ip(string $variableName) v5

Filter and validate an IP address
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
RETURN VALUE:
string = IP address after filtering

text(string $variableName) v5

Get's text, trims it and strips tags (FILTER_SANITIZE_STRING)
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
RETURN VALUE:
string = the text/content after filtering

url(string $variableName) v5

filter validates a URL variable
PARAMETERS:
$variableName = string, The name of the variable to $_GET the value of
RETURN VALUE:
string = The url after filtering

__construct(\WMT\Filter\Sanitize $sanitize) v5

Initialize AbstractInput object for filtering content
PARAMETERS:
$sanitize = object
RETURN VALUE:
VOID

Get PHP Variables

$inputType v5

$inputType v5

Default value = INPUT_GET

$invalidAction v5

$sanitize v5




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


Reseller: WMT
|
Login
(502) 225-3237