PHP Class Est_Handler_Akeneo_AbstractDatabase

Author: Dmytro Zavalkin ([email protected])
Inheritance: extends Est_Handler_AbstractDatabase
ファイルを表示 Open project: aoemedia/envsettingstool

Protected Properties

Property Type Description
$_tablePrefix string Table prefix

Protected Methods

Method Description
_checkIfTableExists ( string $table )
_getDatabaseConnectionParameters ( ) : array Read database connection parameters from local.xml file
_getFirstRow ( string $query, array $sqlParameters ) : mixed Get first row query
_processDelete ( string $query, array $sqlParameters ) Process delete query
_processInsert ( string $query, array $sqlParameters ) Process insert query
_processUpdate ( string $query, array $sqlParameters, string $oldValue ) Process update query

Method Details

_checkIfTableExists() protected method

protected _checkIfTableExists ( string $table )
$table string

_getDatabaseConnectionParameters() protected method

Read database connection parameters from local.xml file

_getFirstRow() protected method

Get first row query
protected _getFirstRow ( string $query, array $sqlParameters ) : mixed
$query string
$sqlParameters array
return mixed

_processDelete() protected method

Process delete query
protected _processDelete ( string $query, array $sqlParameters )
$query string
$sqlParameters array

_processInsert() protected method

Process insert query
protected _processInsert ( string $query, array $sqlParameters )
$query string
$sqlParameters array

_processUpdate() protected method

Process update query
protected _processUpdate ( string $query, array $sqlParameters, string $oldValue )
$query string
$sqlParameters array
$oldValue string

Property Details

$_tablePrefix protected_oe property

Table prefix
protected string $_tablePrefix
return string