class Connection extends Connection (View source)

Properties

protected EntityManager $entityManager

Methods

EntityManager
getEntityManager() deprecated

No description

EntityManager
createEntityManager()

No description

bool
tableExists($tableName)

Returns true if a table exists – is NOT case sensitive.

Execute($q, $arguments = array()) deprecated

No description

query()

No description

createTextIndexes(array $textIndexes)

This is essentially a workaround for not being able to define indexes on TEXT fields with the current version of Doctrine DBAL.

GetRow($q, $arguments = array()) deprecated

No description

qstr($string) deprecated

No description

GetOne($q, $arguments = array()) deprecated

No description

ErrorMsg() deprecated

No description

GetAll($q, $arguments = array()) deprecated

No description

GetArray($q, $arguments = array()) deprecated

No description

GetAssoc($q, $arguments = array()) deprecated

No description

MetaColumnNames($table) deprecated

No description

Replace($table, $fieldArray, $keyCol, $autoQuote = true) deprecated

No description

GetCol($q, $arguments = array()) deprecated

No description

Insert_ID() deprecated

No description

MetaTables() deprecated

No description

MetaColumns($table) deprecated

No description

BeginTrans() deprecated

No description

StartTrans() deprecated

No description

CommitTrans() deprecated

No description

CompleteTrans() deprecated

No description

RollbackTrans() deprecated

No description

FailTrans() deprecated

No description

Details

EntityManager getEntityManager() deprecated

deprecated Please use the ORM facade instead of this method: - ORM::entityManager() in the application/site code and core - $pkg->getEntityManager() in packages

No description

Return Value

EntityManager

EntityManager createEntityManager()

No description

Return Value

EntityManager

Exceptions

ORMException

bool tableExists($tableName)

Returns true if a table exists – is NOT case sensitive.

Parameters

$tableName

Return Value

bool

Execute($q, $arguments = array()) deprecated

deprecated

No description

Parameters

$q
$arguments

query()

No description

createTextIndexes(array $textIndexes)

This is essentially a workaround for not being able to define indexes on TEXT fields with the current version of Doctrine DBAL.

This feature will be removed when DBAL will support it, so don't use this feature.

Parameters

array $textIndexes

GetRow($q, $arguments = array()) deprecated

deprecated alias to old ADODB method

No description

Parameters

$q
$arguments

qstr($string) deprecated

deprecated alias to old ADODB method

No description

Parameters

$string

GetOne($q, $arguments = array()) deprecated

deprecated alias to old ADODB method

No description

Parameters

$q
$arguments

ErrorMsg() deprecated

deprecated alias to old ADODB method

No description

GetAll($q, $arguments = array()) deprecated

deprecated alias to old ADODB method

No description

Parameters

$q
$arguments

GetArray($q, $arguments = array()) deprecated

deprecated alias to old ADODB method

No description

Parameters

$q
$arguments

GetAssoc($q, $arguments = array()) deprecated

deprecated alias to old ADODB method

No description

Parameters

$q
$arguments

MetaColumnNames($table) deprecated

deprecated Returns an associative array of all columns in a table

No description

Parameters

$table

Replace($table, $fieldArray, $keyCol, $autoQuote = true) deprecated

deprecated Alias to old ADODB Replace() method.

No description

Parameters

$table
$fieldArray
$keyCol
$autoQuote

GetCol($q, $arguments = array()) deprecated

deprecated - alias to old ADODB method

No description

Parameters

$q
$arguments

Insert_ID() deprecated

deprecated alias to old ADODB method

No description

MetaTables() deprecated

deprecated

No description

MetaColumns($table) deprecated

deprecated

No description

Parameters

$table

BeginTrans() deprecated

deprecated Alias to old ADODB method

No description

StartTrans() deprecated

deprecated Alias to old ADODB method

No description

CommitTrans() deprecated

deprecated Alias to old ADODB method

No description

CompleteTrans() deprecated

deprecated Alias to old ADODB method

No description

RollbackTrans() deprecated

deprecated Alias to old ADODB method

No description

FailTrans() deprecated

deprecated Alias to old ADODB method

No description