Class SQLGeneratorInterface

Description

A SQLGeneratorInterface interface is the parent of all SQLGenerator objects.

A SQLGeneratorInterface interface declares only one method, namely generateSQLQuery(), which takes a query object as a parameter. The method returns the SQL string representation of that query object - thus, a SQLGenerator.

  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • version: $Id: SQLGenerator.interface.php,v 1.3 2005/04/07 16:33:23 adamfranco Exp $
  • version: $Id: SQLGenerator.interface.php,v 1.3 2005/04/07 16:33:23 adamfranco Exp $

Located in /harmoni/core/DBHandler/SQLGenerator.interface.php (line 26)


	
			
Direct descendents
Class Description
MySQL_SQLGenerator A MySQLSelectQueryGenerator class provides the tools to build a MySQL query from a Query object.
Oracle_SQLGenerator A OracleQueryGenerator class provides the tools to build a Oracle query from a Query object.
PostgreSQL_SQLGenerator A PostgreSQLQueryGenerator class provides the tools to build a PostgreSQL query from a Query object.
Method Summary
string generateSQLQuery (object QueryInterface $query)
Methods
generateSQLQuery (line 35)

Returns a string representing the SQL query corresonding to the specified Query object.

  • return: A string representing the SQL query corresonding to this Query object.
  • access: public
  • static:
string generateSQLQuery (object QueryInterface $query)
  • object QueryInterface $query: The object from which to generate the SQL string.

Redefined in descendants as:

Documentation generated on Wed, 19 Sep 2007 10:26:40 -0400 by phpDocumentor 1.3.0RC3