PHP Class Doctrine\OrientDB\Query\Formatter\Query

Inheritance: implements Doctrine\OrientDB\Query\Formatter\QueryInterface
Mostra file Open project: doctrine/orientdb-odm Class Usage Examples

Public Methods

Method Description
stripNonSQLCharacters ( string $string, $nonFilter = null ) : string Strips non-SQL characters from a string leaving intact regular characters a-z and integers.
tokenize ( string $token ) : string Tokenizes a string.
untokenize ( string $token ) : string Untokenizes a string.

Protected Methods

Method Description
implode ( array $array ) : string Implodes and array using a comma.
implodeRegular ( array $values, $nonFilter = null ) : string Implodes the $values in a string regularly formatted.
stripNonSQLCharactersArray ( array $strings, $nonFilter = null ) : array Strips non-SQL charactes from the strings contained in the the array leaving intact regular characters a-z and integers.

Method Details

implode() protected static method

Implodes and array using a comma.
protected static implode ( array $array ) : string
$array array
return string

implodeRegular() protected static method

Implodes the $values in a string regularly formatted.
protected static implodeRegular ( array $values, $nonFilter = null ) : string
$values array
return string

stripNonSQLCharacters() public static method

Strips non-SQL characters from a string leaving intact regular characters a-z and integers.
public static stripNonSQLCharacters ( string $string, $nonFilter = null ) : string
$string string
return string

stripNonSQLCharactersArray() protected static method

Strips non-SQL charactes from the strings contained in the the array leaving intact regular characters a-z and integers.
protected static stripNonSQLCharactersArray ( array $strings, $nonFilter = null ) : array
$strings array
return array

tokenize() public static method

Tokenizes a string.
public static tokenize ( string $token ) : string
$token string
return string

untokenize() public static method

Untokenizes a string.
public static untokenize ( string $token ) : string
$token string
return string