Translates objects in the Xyster_Data package into SQL fragments
Located in /Db/Translator.php (line 28)
Class | Description |
---|---|
Xyster_Orm_Mapper_Translator | A translator for db fields that is smart about ORM |
Creates a new translator for a given SQL connection
Sets the callback for column renaming
This can be any valid PHP callback. It's passed the column object.
Sets a table name to prefix to columns
Translates one of the Xyster Data objects into a SQL token
Converts a criterion to SQL
Converts an expression to SQL
Converts a field to SQL
Converts a Junction to SQL
Converts a sort to SQL
Gets the renamed value of the field if appropriate
This can be overridden to provide a custom renaming strategy
Gets the name of the table to use to prefix columns
This can be extended to provide a custom table name
Documentation generated on Mon, 19 May 2008 17:07:40 -0400 by phpDocumentor 1.4.2