Tutorial Extension
1.0.0
SellerDeck Extensions - Tutorial Extension
|
Public Member Functions | |
__construct ($sDsn, $sDBUser, $sPassword) | |
prepare ($sQuery) | |
tables () | |
tableExists ($sTableName) | |
lastInsertId () | |
exec ($sStatement) | |
query ($sStatement, $nReturnType=\PDO::FETCH_ASSOC) | |
fetch ($sFetchStyle=null, $sCursorOrientation=\PDO::FETCH_ORI_NEXT, $nCursorOffset=0) | |
fetchAll ($sFetchStyle=null, $sFetchArgument=null, array $aCtorArgs=[]) | |
Protected Attributes | |
$m_oConnection | |
$m_oResult = null | |
Definition at line 53 of file CDataBaseAccessNoPDO.php.
__construct | ( | $sDsn, | |
$sDBUser, | |||
$sPassword | |||
) |
__construct - Object constructor method
public
string | $sDsn | DSN |
string | $sDBUser | DB User |
string | $sPassword | Password |
Definition at line 75 of file CDataBaseAccessNoPDO.php.
exec | ( | $sStatement | ) |
exec - Execute query
public
string | $sStatement | Statement |
Definition at line 142 of file CDataBaseAccessNoPDO.php.
fetch | ( | $sFetchStyle = null , |
|
$sCursorOrientation = \PDO::FETCH_ORI_NEXT , |
|||
$nCursorOffset = 0 |
|||
) |
fetch - Fetch result array
public
string | $sFetchStyle | Fetch Style |
string | $sCursorOrientation | Cursor Orientation |
int | $nCursorOffset | Cursor Offset |
Definition at line 171 of file CDataBaseAccessNoPDO.php.
fetchAll | ( | $sFetchStyle = null , |
|
$sFetchArgument = null , |
|||
array | $aCtorArgs = [] |
||
) |
fetchAll - Fetch all results
public
string | $sFetchStyle | Fetch Style |
string | $sFetchArgument | Fetch Argument |
array | $aCtorArgs | Ctor Args |
Definition at line 185 of file CDataBaseAccessNoPDO.php.
lastInsertId | ( | ) |
lastInsertId - Last Insert ID
public
Definition at line 127 of file CDataBaseAccessNoPDO.php.
prepare | ( | $sQuery | ) |
prepare - Prepare query
public
string | $sQuery | Query |
Definition at line 87 of file CDataBaseAccessNoPDO.php.
query | ( | $sStatement, | |
$nReturnType = \PDO::FETCH_ASSOC |
|||
) |
query - Execute query
public
string | $sStatement | Statement |
int | $nReturnType | Return Type |
Definition at line 156 of file CDataBaseAccessNoPDO.php.
tableExists | ( | $sTableName | ) |
tableExists - Does table exist?
public
string | $sTableName | Table Name |
Definition at line 110 of file CDataBaseAccessNoPDO.php.
tables | ( | ) |
tables - Getting tables
public
Definition at line 98 of file CDataBaseAccessNoPDO.php.