Class: Doctrine_RawSql
Source Location: /Doctrine/RawSql.phpClass Doctrine_RawSql
Class Overview
Doctrine_RawSql Located in /Doctrine/RawSql.php [line 33] Doctrine_Object | --Doctrine_Hydrate | --Doctrine_Query_Abstract | --Doctrine_RawSqlAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Hydrate
Inherited From Doctrine_Object |
Inherited From Doctrine_Query_Abstract
Inherited From Doctrine_Hydrate
Inherited From Doctrine_Object
|
Inherited From Doctrine_Hydrate |
[ Top ]
Method Summary
Doctrine_RawSql | addComponent() | addComponent |
array | getFields() | getFields returns the fields associated with this parser |
string | getQuery() | getQuery builds the sql query from the given query parts |
Doctrine_RawSql | parseQuery() | parseQuery parses an sql query and adds the parts to internal array |
Doctrine_Query | parseQueryPart() | parseQueryPart parses given query part |
[ Top ]
Methods
addComponent [line 226]
|
addComponent
Parameters:string | $tableAlias: | |
string | $componentName: | |
$path: |
API Tags:
Access: | public |
[ Top ]
getFields [line 215]
|
getFields returns the fields associated with this parser
API Tags:
Return: | all the fields associated with this parser |
Access: | public |
[ Top ]
getQuery [line 130]
|
getQuery builds the sql query from the given query parts
API Tags:
Return: | the built sql query |
Access: | public |
[ Top ]
parseQuery [line 73]
|
parseQuery parses an sql query and adds the parts to internal array
Parameters:string | $query: | query to be parsed |
API Tags:
Return: | this object |
Access: | public |
[ Top ]
parseQueryPart [line 50]
|
parseQueryPart parses given query part
Parameters:string | $queryPartName: | the name of the query part |
string | $queryPart: | query part to be parsed |
boolean | $append: | whether or not to append the query part to its stack if false is given, this method will overwrite the given query part stack with $queryPart |
API Tags:
Return: | this object |
Access: | public |
Redefinition of:
- Doctrine_Query_Abstract::parseQueryPart()
- parseQueryPart parses given DQL query part
[ Top ]