abstract class Doctrine_Query_Condition extends Doctrine_Query_Part (View source)

Doctrine_Query_Condition

Properties

protected Doctrine_Query $query from Doctrine_Query_Part
protected $_tokenizer from Doctrine_Query_Part

Methods

__construct($query, Doctrine_Query_Tokenizer $tokenizer = null)

No description

string
parse(string $str)

DQL CONDITION PARSER parses the join condition/where/having part of the query string

string
parseLiteralValue(string $value)

parses a literal value and returns the parsed value

Details

__construct($query, Doctrine_Query_Tokenizer $tokenizer = null)

Parameters

$query
Doctrine_Query_Tokenizer $tokenizer

Doctrine_Query getQuery()

Return Value

Doctrine_Query $query the query object associated with this parser

string parse(string $str)

DQL CONDITION PARSER parses the join condition/where/having part of the query string

Parameters

string $str

Return Value

string

string parseLiteralValue(string $value)

parses a literal value and returns the parsed value

boolean literals are parsed to integers components are parsed to associated table aliases

Parameters

string $value literal value to be parsed

Return Value

string