class Doctrine_Query_From extends Doctrine_Query_Part (View source)

Doctrine_Query_From

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

void
parse(string $str, boolean $return = false)

DQL FROM PARSER parses the FROM part of the query string

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

void parse(string $str, boolean $return = false)

DQL FROM PARSER parses the FROM part of the query string

Parameters

string $str
boolean $return if to return the parsed FROM and skip load()

Return Value

void