class Query implements QueryInterface (View source)

Methods

static string
tokenize(string $token)

Tokenizes a string.

static string
untokenize(string $token)

Untokenizes a string.

static string
stripNonSQLCharacters($string, $nonFilter = null)

Strips non-SQL characters from a string leaving intact regular characters a-z and integers.

static array
stripNonSQLCharactersArray(array $strings, $nonFilter = null)

Strips non-SQL charactes from the strings contained in the the array leaving intact regular characters a-z and integers.

static string
implode(array $array)

Implodes and array using a comma.

static string
implodeRegular(array $values, $nonFilter = null)

Implodes the $values in a string regularly formatted.

Details

static string tokenize(string $token)

Tokenizes a string.

Parameters

string $token

Return Value

string

static string untokenize(string $token)

Untokenizes a string.

Parameters

string $token

Return Value

string

static string stripNonSQLCharacters($string, $nonFilter = null)

Strips non-SQL characters from a string leaving intact regular characters a-z and integers.

Parameters

$string
$nonFilter

Return Value

string

static protected array stripNonSQLCharactersArray(array $strings, $nonFilter = null)

Strips non-SQL charactes from the strings contained in the the array leaving intact regular characters a-z and integers.

Parameters

array $strings
$nonFilter

Return Value

array

static protected string implode(array $array)

Implodes and array using a comma.

Parameters

array $array

Return Value

string

static protected string implodeRegular(array $values, $nonFilter = null)

Implodes the $values in a string regularly formatted.

Parameters

array $values
$nonFilter

Return Value

string