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

Request



Extends: AbstractInput


Request 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

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

getPHPInput() v5

Get php input contents
PARAMETERS:
NONE
RETURN VALUE:
string = PHP input content from file

getShowAll(\WMT\Container $container, \WMT\SQL\Visit\Visitor $visitor) v5

gets show all status
PARAMETERS:
$container = object
$visitor = object
RETURN VALUE:
bool = True if show all is turned on, false otherwise

getTimeRange(\WMT\Container $container) v5

Get variables time range
PARAMETERS:
$container = object
RETURN VALUE:
array = Array of variable and their time range

has(string $variableName) v5

Checks if a variable name exists in $_REQUEST super global array
PARAMETERS:
$variableName = string, Variable name to check
$visitor = object
RETURN VALUE:
bool = True if the variable name exists, 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

includeSession(string $fieldTitle, $defaultValue, string $sessionPrepend, bool $isInt = false, bool $getSession = true) v5

Include session variables to $_REQUEST
PARAMETERS:
$fieldTitle = string, Session name
$defaultValue = mixed, Session default value
$sessionPrepend = string, Session name prefix
$isInt = bool, Session value is an integer
$getSession = bool, false to unset the session and setting the default value to it, true to get the session value
RETURN VALUE:
mixed = Session value

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

Request PHP Variables

$inputType v5

$inputType v5

Default Value = INPUT_REQUEST

$invalidAction v5

$sanitize v5




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


Reseller: WMT
|
Login
(502) 225-3237