Path

ez components / documentation / api reference / 1.0.1 / database


eZ Components 1.0.1

Database: ezcDbHandlerSqlite

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcDbHandlerSqlite

SQLite driver implementation [source]

Parents

PDO
   |
   --ezcDbHandler
      |
      --ezcDbHandlerSqlite

Inherited Member Variables

From ezcDbHandler:
protected  ezcDbHandler::$transactionErrorFlag
protected  ezcDbHandler::$transactionNestingLevel

Method Summary

public ezcDbHandlerSqlite __construct( $dbParams, $dbparams )
Constructs a handler object from the parameters $dbParams.
public ezcQueryExpressionqSqlite createExpression( )
Returns a new ezcQueryExpression derived object with SQLite implementation specifics.
public ezcQuerySelectSqlite createSelectQuery( )
Returns a new ezcQuerySelect derived object with SQLite implementation specifics.
public ezcUtilitiesSqlite createUtilities( )
Returns a new ezcUtilities derived object with SQLite implementation specifics.
public static string getName( )
Returns 'sqlite'.
public static array(string) hasFeature( $feature )
Returns the features supported by SQLite.

Inherited Methods

From ezcDbHandler :
public ezcDbHandler ezcDbHandler::__construct()
Constructs a handler object.
public bool ezcDbHandler::beginTransaction()
Begins a transaction.
public bool ezcDbHandler::commit()
Commits a transaction.
public ezcQueryDelete ezcDbHandler::createDeleteQuery()
Returns a new ezcQueryDelete derived object for the correct database type.
public ezcQueryExpression ezcDbHandler::createExpression()
Returns a new ezcQueryExpression derived object for the correct database type.
public ezcQueryInsert ezcDbHandler::createInsertQuery()
Returns a new ezcQueryInsert derived object for the correct database type.
public ezcQuerySelect ezcDbHandler::createSelectQuery()
Returns a new ezcQuerySelect derived object for the correct database type.
public ezcQueryUpdate ezcDbHandler::createUpdateQuery()
Returns a new ezcQueryUpdate derived object for the correct database type.
public ezcDbUtilities ezcDbHandler::createUtilities()
Returns a new ezcUtilities derived object for the correct database type.
public abstract static string ezcDbHandler::getName()
Returns the name of the handler.
public static bool ezcDbHandler::hasFeature()
Returns true if the given $feature is supported by the handler.
public bool ezcDbHandler::rollback()
Rollback a transaction.

Methods

__construct

ezcDbHandlerSqlite __construct( $dbParams, array $dbparams )
Constructs a handler object from the parameters $dbParams.
Supported database parameters are:
  • dbname|database: Database name

Parameters

Name Type Description
$dbparams array Database connection parameters (key=>value pairs).
$dbParams  

Throws

ClassDescription
ezcDbMissingParameterException if the database name was not specified.

Redefinition of

Method Description
ezcDbHandler::__construct() Constructs a handler object.

createExpression

ezcQueryExpressionqSqlite createExpression( )
Returns a new ezcQueryExpression derived object with SQLite implementation specifics.

Redefinition of

Method Description
ezcDbHandler::createExpression() Returns a new ezcQueryExpression derived object for the correct database type.

createSelectQuery

ezcQuerySelectSqlite createSelectQuery( )
Returns a new ezcQuerySelect derived object with SQLite implementation specifics.

Redefinition of

Method Description
ezcDbHandler::createSelectQuery() Returns a new ezcQuerySelect derived object for the correct database type.

createUtilities

ezcUtilitiesSqlite createUtilities( )
Returns a new ezcUtilities derived object with SQLite implementation specifics.

Redefinition of

Method Description
ezcDbHandler::createUtilities() Returns a new ezcUtilities derived object for the correct database type.

getName

string getName( )
Returns 'sqlite'.

Redefinition of

Method Description
ezcDbHandler::getName() Returns the name of the handler.

hasFeature

array(string) hasFeature( $feature )
Returns the features supported by SQLite.

Parameters

Name Type Description
$feature  

Redefinition of

Method Description
ezcDbHandler::hasFeature() Returns true if the given $feature is supported by the handler.

Last updated: Fri, 02 Nov 2007