Public Member Functions | Static Public Member Functions | Private Member Functions

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 ()
 hasReturning ()
 quoteBinary ($data)
 unquoteBinary ($data)
 typeToString (DataType $type)
 toFieldString ($expression)
 toValueString ($expression)
 fieldToString ($field)
 valueToString ($value)
 fullTextSearch ($field, $words, $logic)
 fullTextRank ($field, $words, $logic)

Static Public Member Functions

static quoteField ($field)
 must be implemented too:
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 18 of file Dialect.class.php.


Member Function Documentation

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

Reimplemented in LiteDialect, and MyDialect.

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

Dialect::fieldToString ( field  ) 

Reimplemented in ImaginaryDialect.

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

References quoteField().

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

Here is the call graph for this function:

Dialect::fullTextRank ( field,
words,
logic 
)

Reimplemented in ImaginaryDialect, and PostgresDialect.

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

Referenced by FullTextRank::toDialectString().

Dialect::fullTextSearch ( field,
words,
logic 
)

Reimplemented in ImaginaryDialect, MyDialect, and PostgresDialect.

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

Referenced by FullTextSearch::toDialectString().

Dialect::hasMultipleTruncate (  )  [abstract]
Dialect::hasReturning (  )  [abstract]
Dialect::hasTruncate (  )  [abstract]
Dialect::postAutoincrement ( DBColumn column  )  [abstract]
Dialect::preAutoincrement ( DBColumn column  )  [abstract]
Dialect::quoteBinary ( data  ) 

Reimplemented in LiteDialect, MyDialect, MyImprovedDialect, and PostgresDialect.

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

static Dialect::quoteField ( field  )  [static]
static Dialect::quoteTable ( table  )  [static]
static Dialect::timeZone ( exist = false  )  [static]

Reimplemented in MyDialect.

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

Referenced by DataType::toDialectString().

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

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

References toNeededString().

Referenced by PrefixUnaryExpression::toDialectString().

Here is the call graph for this function:

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

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

Referenced by toFieldString(), and toValueString().

Dialect::toValueString ( expression  ) 

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

References toNeededString().

Here is the call graph for this function:

Dialect::typeToString ( DataType type  ) 

Reimplemented in LiteDialect, MyDialect, and PostgresDialect.

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

References NamedObject::getName().

Referenced by DataType::toDialectString().

Here is the call graph for this function:

Dialect::unquoteBinary ( data  ) 

Reimplemented in LiteDialect, and PostgresDialect.

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

Dialect::valueToString ( value  ) 

Reimplemented in ImaginaryDialect.

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

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


The documentation for this class was generated from the following file: