UNA
|
Public Member Functions | |
isUndo () | |
getBaseUrl () | |
getStatCounter () | |
getCountByStatus ($iStatus) | |
getSocketName () | |
actionReport () | |
actionClearReport () | |
actionGetReportedBy () | |
isAllowedReport ($isPerformAction=false) | |
msgErrAllowedReport () | |
isAllowedReportView ($isPerformAction=false) | |
changeStatusReport ($iStatus, $iAuthorId, $sCmtText) | |
msgErrAllowedReportView () | |
Public Member Functions inherited from BxDolObject | |
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, $oTemplate=false) |
static & | getSystems () |
static | onAuthorDelete ($iAuthorId) |
Static Public Member Functions inherited from BxDolObject | |
static | pruning () |
Protected Member Functions | |
__construct ($sSystem, $iId, $iInit=true, $oTemplate=false) | |
_isCount ($aVote=array()) | |
_getReport ($iObjectId=0, $bForceGet=false) | |
_isReport ($iObjectId=0, $bForceGet=false) | |
_getTrack ($iObjectId, $iAuthorId) | |
_getIconDoReport ($bPerformed) | |
_getTitleDoReport ($bPerformed) | |
_getFormObject () | |
Protected Member Functions inherited from BxDolObject | |
_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 () |
Protected Attributes | |
$_oTemplate | |
$_bUndo | |
$_sBaseUrl | |
$_sObjectCmts | |
$_sFormObject | |
$_sFormDisplayPost | |
$_sTypesPreList | |
$_aTypes | |
$_aReport | |
Protected Attributes inherited from BxDolObject | |
$_oTemplate = null | |
$_oQuery = null | |
$_bApi = false | |
$_iId = 0 | |
$_sSystem = '' | |
$_aSystem = array() | |
$_aMarkers = array () | |
$_sTmplContentElementBlock = '' | |
$_sTmplContentElementInline = '' | |
$_sTmplContentDoAction | |
$_sTmplContentDoActionLabel = '' | |
$_sTmplContentCounter = '' | |
$_sTmplContentCounterLabel = '' |
Report any content
Related classes:
AJAX report for any content.
To add report section to your feature you need to add a record to 'sys_objects_report' table:
You can refer to BoonEx modules for sample record in this table.
You can show report in any place, using the following code:
Alerts type/unit - every module has own type/unit, it equals to ObjectName. The following alerts are rised:
|
protected |
Reimplemented from BxDolObject.
|
protected |
Internal functions
BxDolReport::actionReport | ( | ) |
Actions functions
|
static |
get reports object instanse
$sSys | report object name |
$iId | associated content id, where report is available |
$iInit | perform initialization |
|
static |
Reimplemented from BxDolObject.
BxDolReport::isAllowedReport | ( | $isPerformAction = false | ) |
Permissions functions
Reimplemented in BxOrgsReport, and BxPersonsReport.
BxDolReport::isUndo | ( | ) |
Interface functions for outer usage