|
Cheetah
|
Public Member Functions | |
| __construct ($sTable='', $sFieldId='', $sFieldOwnerId='') | |
| getObjectInfo ($sAction, $iObjectId) | |
| isGroupMember ($mixedObjectGroupId, $iObjectOwnerId, $iViewerId) | |
| getGroupsBy ($aParams) | |
| deleteGroupsById ($mixedValues) | |
| getMembersIds ($iGroupId) | |
| addToGroup ($iGroupId, $aMemberIds) | |
| deleteFromGroup ($iGroupId, $aMemberIds) | |
| getDefaultGroup ($iOwnerId) | |
| setDefaultGroup ($iOwnerId, $iGroupId) | |
| getActions ($iOwnerId) | |
| getDefaultValue ($iOwnerId, $sModuleUri, $sActionName) | |
| getDefaultValueModule ($sModuleUri, $sActionName) | |
| replaceDefaulfValue ($iOwnerId, $iActionId, $iGroupId) | |
| getFieldActionTitle ($sModuleUri, $sActionName) | |
| _getAction ($sModuleUri, $sActionName) | |
Public Member Functions inherited from ChWsbDb | |
| setTimezone ($sTimezone) | |
| getLink () | |
| res ($sQuery, $aBindings=[], $bReplaying=false) | |
| getAll ($sQuery, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC) | |
| getRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC) | |
| getColumn ($sQuery, $aBindings=[]) | |
| getOne ($sQuery, $aBindings=[], $iIndex=0) | |
| getFirstRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC) | |
| getNextRow () | |
| getAllWithKey ($sQuery, $sFieldKey, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC) | |
| getPairs ($sQuery, $sFieldKey, $sFieldValue, $aBindings=[]) | |
| query ($sQuery, $aBindings=[]) | |
| getNumRows ($oStmt=null) | |
| getAffectedRows ($oStmt=null) | |
| fillArray ($oStmt, $iFetchType=PDO::FETCH_ASSOC) | |
| lastId () | |
| getParam ($sName, $bCache=true) | |
| setParam ($sName, $sValue) | |
| listTables () | |
| getFields ($sTable) | |
| isFieldExists ($sTable, $sFieldName) | |
| fetchField ($mixedQuery, $iField, $aBindings=[]) | |
| getDbCacheObject () | |
| genDbCacheKey ($sName) | |
| fromCache ($sName, $sFunc) | |
| cleanCache ($sName) | |
| & | fromMemory ($sName, $sFunc) |
| cleanMemory ($sName) | |
| arrayToSQL ($a, $sDiv=',') | |
| escape ($sText, $bReal=true) | |
| implode_escape ($mixed) | |
| unescape ($mixed) | |
Public Attributes | |
| $_sTable | |
| $_sFieldId | |
| $_sFieldOwnerId | |
| $_sGroupCache | |
| $_sGroupsByOwnersCache | |
| $_sGroupMembersCache | |
| $_sObjectCache | |
| $_sActionCache | |
| $_sActionDefaultCache | |
Public Attributes inherited from ChWsbDb | |
| $port | |
| $socket | |
| $dbname | |
| $user | |
| $password | |
| $oParams = null | |
| $oDbCacheObject = null | |
Additional Inherited Members | |
Static Public Member Functions inherited from ChWsbDb | |
| static | getInstance () |
Protected Member Functions inherited from ChWsbDb | |
| __construct () | |
| connect () | |
| disconnect () | |
Protected Attributes inherited from ChWsbDb | |
| $host | |
| $link | |
| $oCurrentStmt | |
| $iCurrentFetchStyle | |
Static Protected Attributes inherited from ChWsbDb | |
| static | $instance |
Definition at line 10 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::__construct | ( | $sTable = '', |
|
$sFieldId = '', |
|||
$sFieldOwnerId = '' |
|||
| ) |
constructor
Definition at line 26 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::_getAction | ( | $sModuleUri, | |
| $sActionName | |||
| ) |
Private methods.
Definition at line 234 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::addToGroup | ( | $iGroupId, | |
| $aMemberIds | |||
| ) |
Definition at line 158 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::deleteFromGroup | ( | $iGroupId, | |
| $aMemberIds | |||
| ) |
Definition at line 168 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::deleteGroupsById | ( | $mixedValues | ) |
Definition at line 140 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getActions | ( | $iOwnerId | ) |
Definition at line 189 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getDefaultGroup | ( | $iOwnerId | ) |
Definition at line 179 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getDefaultValue | ( | $iOwnerId, | |
| $sModuleUri, | |||
| $sActionName | |||
| ) |
Definition at line 205 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getDefaultValueModule | ( | $sModuleUri, | |
| $sActionName | |||
| ) |
Definition at line 215 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getFieldActionTitle | ( | $sModuleUri, | |
| $sActionName | |||
| ) |
Definition at line 225 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getGroupsBy | ( | $aParams | ) |
Definition at line 98 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getMembersIds | ( | $iGroupId | ) |
Definition at line 153 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::getObjectInfo | ( | $sAction, | |
| $iObjectId | |||
| ) |
Definition at line 41 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::isGroupMember | ( | $mixedObjectGroupId, | |
| $iObjectOwnerId, | |||
| $iViewerId | |||
| ) |
Definition at line 53 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::replaceDefaulfValue | ( | $iOwnerId, | |
| $iActionId, | |||
| $iGroupId | |||
| ) |
Definition at line 220 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::setDefaultGroup | ( | $iOwnerId, | |
| $iGroupId | |||
| ) |
Definition at line 184 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sActionCache |
Definition at line 20 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sActionDefaultCache |
Definition at line 21 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sFieldId |
Definition at line 13 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sFieldOwnerId |
Definition at line 14 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sGroupCache |
Definition at line 16 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sGroupMembersCache |
Definition at line 18 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sGroupsByOwnersCache |
Definition at line 17 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sObjectCache |
Definition at line 19 of file ChWsbPrivacyQuery.php.
| ChWsbPrivacyQuery::$_sTable |
Definition at line 12 of file ChWsbPrivacyQuery.php.