Dialect Class Reference
[Connectors and dialects for various databasesClasses implemented in PHP's extension.]

Base (aka ANSI) SQL dialect. More...

Inheritance diagram for Dialect:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 preAutoincrement (DBColumn $column)
 postAutoincrement (DBColumn $column)
 hasTruncate ()
 hasMultipleTruncate ()
 toFieldString ($expression)
 toValueString ($expression)
 fieldToString ($field)
 valueToString ($value)
 fullTextSearch ($field, $words, $logic)
 fullTextRank ($field, $words, $logic)

Static Public Member Functions

static quoteValue ($value)
static quoteField ($field)
static quoteTable ($table)
static toCasted ($field, $type)
static timeZone ($exist=false)
static dropTableMode ($cascade=false)

Private Member Functions

 toNeededString ($expression, $method)


Detailed Description

Base (aka ANSI) SQL dialect.

Definition at line 19 of file Dialect.class.php.


Member Function Documentation

Dialect::preAutoincrement ( DBColumn column  )  [abstract]

Reimplemented in ImaginaryDialect, LiteDialect, MyDialect, and PostgresDialect.

Dialect::postAutoincrement ( DBColumn column  )  [abstract]

Reimplemented in ImaginaryDialect, LiteDialect, MyDialect, and PostgresDialect.

Dialect::hasTruncate (  )  [abstract]

Reimplemented in ImaginaryDialect, LiteDialect, MyDialect, and PostgresDialect.

Dialect::hasMultipleTruncate (  )  [abstract]

Reimplemented in ImaginaryDialect, LiteDialect, MyDialect, and PostgresDialect.

static Dialect::quoteValue ( value  )  [static]

Reimplemented in ImaginaryDialect, LiteDialect, MyDialect, MyImprovedDialect, and PostgresDialect.

Definition at line 29 of file Dialect.class.php.

Referenced by SQLFunction::toDialectString(), SQLArray::toDialectString(), InsertQuery::toDialectString(), DBValue::toDialectString(), Date::toDialectString(), toValueString(), and valueToString().

static Dialect::quoteField ( field  )  [static]

Reimplemented in ImaginaryDialect, and MyDialect.

Definition at line 46 of file Dialect.class.php.

Referenced by fieldToString(), UpdateQuery::toDialectString(), SelectQuery::toDialectString(), InsertQuery::toDialectString(), DBColumn::toDialectString(), CreateTableQuery::toDialectString(), and toFieldString().

static Dialect::quoteTable ( table  )  [static]

Reimplemented in ImaginaryDialect, and MyDialect.

Definition at line 51 of file Dialect.class.php.

Referenced by SQLBaseJoin::baseToString(), and TruncateQuery::dumpTargets().

static Dialect::toCasted ( field,
type 
) [static]

Reimplemented in PostgresDialect.

Definition at line 56 of file Dialect.class.php.

Referenced by SQLFunction::toDialectString(), FieldTable::toDialectString(), DBValue::toDialectString(), and DBField::toDialectString().

static Dialect::timeZone ( exist = false  )  [static]

Reimplemented in MyDialect.

Definition at line 61 of file Dialect.class.php.

Referenced by DataType::toDialectString().

static Dialect::dropTableMode ( cascade = false  )  [static]

Reimplemented in LiteDialect, and MyDialect.

Definition at line 69 of file Dialect.class.php.

Dialect::toFieldString ( expression  ) 

Definition at line 77 of file Dialect.class.php.

References quoteField(), and toNeededString().

Referenced by PrefixUnaryExpression::toDialectString().

Here is the call graph for this function:

Dialect::toValueString ( expression  ) 

Definition at line 82 of file Dialect.class.php.

References quoteValue(), and toNeededString().

Here is the call graph for this function:

Dialect::toNeededString ( expression,
method 
) [private]

Definition at line 87 of file Dialect.class.php.

Referenced by toFieldString(), and toValueString().

Dialect::fieldToString ( field  ) 

Reimplemented in ImaginaryDialect.

Definition at line 105 of file Dialect.class.php.

References quoteField().

Referenced by PostgresDialect::fullTextRank(), PostgresDialect::fullTextSearch(), MyDialect::fullTextSearch(), SQLFunction::toDialectString(), and FieldTable::toDialectString().

Here is the call graph for this function:

Dialect::valueToString ( value  ) 

Reimplemented in ImaginaryDialect.

Definition at line 113 of file Dialect.class.php.

References quoteValue().

Referenced by SQLArray::toDialectString(), and DBColumn::toDialectString().

Here is the call graph for this function:

Dialect::fullTextSearch ( field,
words,
logic 
)

Reimplemented in ImaginaryDialect, MyDialect, and PostgresDialect.

Definition at line 121 of file Dialect.class.php.

Referenced by FullTextSearch::toDialectString().

Dialect::fullTextRank ( field,
words,
logic 
)

Reimplemented in ImaginaryDialect, and PostgresDialect.

Definition at line 126 of file Dialect.class.php.

Referenced by FullTextRank::toDialectString().


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:57:16 2007 for onPHP by  doxygen 1.5.4