|
| __clone () |
|
| getLevelCurrent ($iProfileId, $iTime=0) |
|
| __clone () |
|
| connect () |
|
| disconnect () |
|
| ping () |
|
| pdoExec ($sQuery) |
|
| pdoQuery ($sQuery) |
|
| pdoExceptionHandler ($oException) |
|
| getOption ($sName) |
|
| getOne ($oStatement, $aBindings=array(), $iIndex=0) |
|
| getRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getColumn ($oStatement, $aBindings=array(), $iFetchColumnNumber=0) |
|
| getFirstRow ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getNextRow ($iFetchType=PDO::FETCH_ASSOC) |
|
| getAll ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| fillArray ($oStatement, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getAllWithKey ($oStatement, $sFieldKey, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getPairs ($oStatement, $sFieldKey, $sFieldValue, $aBindings=array(), $iFetchType=PDO::FETCH_ASSOC) |
|
| getNumRows ($oStatement=null) |
|
| getAffectedRows ($oStatement=null) |
|
| query ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| res ($oStatement, $aBindings=array(), $bVerbose=null) |
|
| getServerInfo () |
|
| getVersion () |
|
| listTables () |
|
| getDbCacheObject () |
|
| escape ($s) |
|
| implode_escape ($mixed) |
|
| unescape ($mixed) |
|
| prepare ($sQuery) |
|
| prepareAsString ($sQuery) |
|
| arrayToSQL ($a, $sDiv=',', $sOperator='=', $bWildcardSpaceChars=false) |
|
Database queries for ACL
- See also
- BxDolAcl
◆ __clone()
BxDolAclQuery::__clone |
( |
| ) |
|
Prevent cloning the instance
◆ getInstance()
static BxDolAclQuery::getInstance |
( |
| ) |
|
|
static |
◆ getLevelCurrent()
BxDolAclQuery::getLevelCurrent |
( |
|
$iProfileId, |
|
|
|
$iTime = 0 |
|
) |
| |
Fetch the last purchased/assigned membership that is still active for the given profile.
NOTE. Don't use cache here, because it's causing an error, if a number of memberrship levels are purchased at the same time. fromMemory returns the same DateExpires because setMembership (old buyMembership) function is called in cycle in the same session.
The documentation for this class was generated from the following file:
- inc/classes/BxDolAclQuery.php