UNA
|
Public Member Functions | |
actionGetViewedBy () | |
actionGetUsers () | |
doView () | |
isAllowedView ($isPerformAction=false) | |
isAllowedViewView ($isPerformAction=false) | |
isAllowedViewViewViewers ($isPerformAction=false) | |
![]() | |
init ($iId) | |
getSystemId () | |
getSystemName () | |
getSystemInfo () | |
getId () | |
setId ($iId) | |
isEnabled () | |
isPerformed ($iObjectId, $iAuthorId, $iAuthorIp=0) | |
getVote ($iObjectId=0, $bForceGet=false) | |
getTrack ($iObjectId, $iAuthorId) | |
getConditions ($sMainTable, $sMainField) | |
getConditionsTrack ($sMainTable, $sMainField, $iAuthorId=0) | |
getSqlParts ($sMainTable, $sMainField) | |
getSqlPartsTrack ($sMainTable, $sMainField, $iAuthorId=0) | |
getSqlPartsTrackAuthor ($sMainTable, $sMainField, $iObjectId=0) | |
addMarkers ($aMarkers) | |
getElementAPI ($aParams=[]) | |
getCounterAPI ($aParams=[]) | |
getQueryObject () | |
checkAction ($sAction, $isPerformAction=false) | |
checkActionErrorMsg ($sAction) | |
onObjectDelete ($iObjectId=0) | |
Static Public Member Functions | |
static | getObjectInstance ($sSys, $iId, $iInit=true) |
static & | getSystems () |
static | onAuthorDelete ($iAuthorId) |
![]() | |
static | pruning () |
Protected Member Functions | |
__construct ($sSystem, $iId, $iInit=true, $oTemplate=false) | |
_getIconDo () | |
_getTitleDo () | |
![]() | |
_getAuthorId () | |
_getAuthorPassword () | |
_getAuthorIp () | |
_getAuthorInfo ($iAuthorId=0) | |
_getAuthorObject ($iAuthorId=0) | |
_trigger () | |
_triggerValue ($iValue) | |
_replaceMarkers ($mixed) | |
_prepareParamsData ($aParams) | |
_getRequestParamsData ($aKeys=array()) | |
_prepareRequestParamsData ($aParams, $aParamsAdd=array()) | |
_getTmplContentElementBlock () | |
_getTmplContentElementInline () | |
_getTmplContentDoAction () | |
_getTmplContentDoActionLabel () | |
_getTmplContentCounter () | |
_getTmplContentCounterLabel () | |
Additional Inherited Members | |
![]() | |
$_oTemplate = null | |
$_oQuery = null | |
$_bApi = false | |
$_iId = 0 | |
$_sSystem = '' | |
$_aSystem = array() | |
$_aMarkers = array () | |
$_sTmplContentElementBlock = '' | |
$_sTmplContentElementInline = '' | |
$_sTmplContentDoAction | |
$_sTmplContentDoActionLabel = '' | |
$_sTmplContentCounter = '' | |
$_sTmplContentCounterLabel = '' | |
Track any object views automatically
Add record to sys_object_view table to track object views, to record view just create this class instance with your object id, for example:
Description of sys_object_view table fields:
Structure of the track table is the following:
|
protected |
Reimplemented from BxDolObject.
|
protected |
Internal functions
|
static |
get votes object instanse
$sSys | view object name |
$iId | associated content id, where vote is available |
$iInit | perform initialization |
|
static |
Reimplemented from BxDolObject.
BxDolView::isAllowedView | ( | $isPerformAction = false | ) |
Permissions functions
Note. The 'view' action is performed automatically and therefore the manual action is not allowed.