class Doctrine_Query_Check (View source)

Doctrine_Query_Check

Properties

protected Doctrine_Table $table
protected string $sql
protected $_tokenizer

Methods

__construct(Doctrine_Table|string $table)

No description

getTable()

getTable returns the table object associated with this object

string
parse(string $dql)

parse

void
parseClause($dql)

parseClause

parseSingle($part)

No description

parseFunction($dql)

No description

string
getSql()

getSql

Details

__construct(Doctrine_Table|string $table)

Parameters

Doctrine_Table|string $table Doctrine_Table object

Doctrine_Connection getTable()

getTable returns the table object associated with this object

Return Value

Doctrine_Connection

string parse(string $dql)

parse

Parameters

string $dql DQL CHECK constraint definition

Return Value

string

void parseClause($dql)

parseClause

Parameters

$dql

Return Value

void

parseSingle($part)

Parameters

$part

parseFunction($dql)

Parameters

$dql

string getSql()

getSql

returns database specific sql CHECK constraint definition parsed from the given dql CHECK definition

Return Value

string