[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/propel/adapter/ -> DBAdapter.php (sommaire)

DBAdapter</code> defines the interface for a Propel database adapter. <p>Support for new databases is added by subclassing <code>DBAdapter</code> and implementing its abstract interface, and by registering the new database adapter and corresponding Creole driver in the private adapters map (array) in this class.</p>

Author: Hans Lellelid <hans@xmpl.org> (Propel)
Author: Jon S. Stevens <jon@latchkey.com> (Torque)
Author: Brett McLaughlin <bmclaugh@algx.net> (Torque)
Author: Daniel Rall <dlr@finemaltcoding.com> (Torque)
Version: $Revision: 325 $
Poids: 184 lignes (6 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 4 fonctions

  factory()
  getStringDelimiter()
  ignoreCaseInOrderBy()
  quoteIdentifier()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

factory($driver)   X-Ref
Creates a new instance of the database adapter associated
with the specified Creole driver.

param: string $driver The name of the Propel/Creole driver to
return: DBAdapter An instance of a Propel database adapter.

getStringDelimiter()   X-Ref
Returns the character used to indicate the beginning and end of
a piece of text used in a SQL statement (generally a single
quote).

return: string The text delimeter.

ignoreCaseInOrderBy($in)   X-Ref
This method is used to ignore case in an ORDER BY clause.
Usually it is the same as ignoreCase, but some databases
(Interbase for example) does not use the same SQL in ORDER BY
and other clauses.

param: string $in The string whose case to ignore.
return: string The string in a case that can be ignored.

quoteIdentifier($text)   X-Ref
Quotes database objec identifiers (table names, col names, sequences, etc.).

param: string $text The identifier to quote.
return: string The quoted identifier.



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7