eZPublishCommunityProject  2013.4
eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite Class Reference

Wrapper class for the zeta components database handler, providing some additional utility functions. More...

+ Inheritance diagram for eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite:
+ Collaboration diagram for eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite:

Public Member Functions

 getAutoIncrementValue ($table, $column)
 Get auto increment value. More...
 
 getSequenceName ($table, $column)
 
 lastInsertId ($sequenceName)
 
- Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\EzcDbHandler
 __call ($method, $parameters)
 Proxy methods to the aggregated DB handler. More...
 
 __construct (ezcDbHandlerWrapped $ezcDbHandler)
 Construct from zeta components database handler. More...
 
 alias ($name, $alias)
 Custom alias method. More...
 
 aliasedColumn (ezcQuerySelect $query, $columnName, $tableName=null)
 Creates an alias for $tableName, $columnName in $query. More...
 
 getAutoIncrementValue ($table, $column)
 Get auto increment value. More...
 
 getSequenceName ($table, $column)
 Returns the name of the affected sequence. More...
 
 quoteColumn ($columnName, $tableName=null)
 Returns a qualified identifier for $columnName in $tableName. More...
 
 quoteIdentifier ($identifier)
 Custom quote identifier method. More...
 
 quoteTable ($tableName)
 Returns a qualified identifier for $tableName. More...
 

Protected Attributes

 $lastInsertedIds = array()
 
- Protected Attributes inherited from eZ\Publish\Core\Persistence\Legacy\EzcDbHandler
 $ezcDbHandler
 

Additional Inherited Members

- Static Public Member Functions inherited from eZ\Publish\Core\Persistence\Legacy\EzcDbHandler
static create ($dbParams)
 Factory for getting EzcDbHandler handler object. More...
 

Detailed Description

Wrapper class for the zeta components database handler, providing some additional utility functions.

Functions as a full proxy to the zeta components database class.

Member Function Documentation

eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite::getAutoIncrementValue (   $table,
  $column 
)

Get auto increment value.

Returns the value used for autoincrement tables. Usually this will just be null. In case for sequence based RDBMS this method can return a proper value for the given column.

Parameters
string$table
string$column
Returns
mixed
eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite::getSequenceName (   $table,
  $column 
)
eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite::lastInsertId (   $sequenceName)

Member Data Documentation

eZ\Publish\Core\Persistence\Legacy\EzcDbHandler\Sqlite::$lastInsertedIds = array()
protected

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