lib/ezdb/classes/ezdb.php

Show: inherited
Table of Contents

\eZDB

Package:

Methods

methodprivate__construct( ) : void

methodpubliccheckTransactionCounter( ) : void
static

methodpublichasInstance( ) : void
static

methodpublicinstance( \$databaseImplementation $databaseImplementation = false, \$databaseParameters $databaseParameters = false, \$forceNewInstance $forceNewInstance = false ) : \eZDBInterface
static

Returns a shared instance of the eZDBInterface class aka database object.

If you want to change the current database values you should use $forceNewInstance.

Parameters
Name Type Description
$databaseImplementation \$databaseImplementation

string|false

$databaseParameters \$databaseParameters

array|false if array, then key 'use_defaults' (bool) is used.

$forceNewInstance \$forceNewInstance

bool

Returns
Type Description
\eZDBInterface
methodpublicsetInstance(  $instance ) : void
static

Parameters
Name Type Description
$instance
Documentation was generated by DocBlox 0.18.1.