|
| setGrid ($aGrid) |
| setIgnoreCacheInServiceCalls ($b) |
| getName () |
| getTitle () |
| getGrid () |
| getContentAuthor ($iContentId) |
| getContentDateAdded ($iContentId) |
| getContentDateChanged ($iContentId) |
| getContentTitle ($iContentId) |
| getContentThumb ($iContentId) |
| getContentCover ($iContentId) |
| getContentLink ($iContentId) |
| getContentText ($iContentId) |
| getContentPrivacy ($iContentId) |
| getContentEmbed ($iContentId) |
| getContentInfo ($iContentId, $bSearchableFieldsOnly=true) |
| getContentInfoAPI ($iContentId, $bExtendedUnits=false) |
| getContentSearchResultUnit ($iContentId, $sUnitTemplate='') |
| getAll ($aParams=array()) |
| getSearchableFieldsExtended () |
| getSortableFieldsExtended () |
| getSearchResultExtended ($aParams, $iStart=0, $iPerPage=0, $bFilterMode=false) |
| deleteContent ($iContentId) |
| updateContent ($iContentId, $aValues) |
| addContent ($aValues) |
|
static | getObjectInstance ($sSystem) |
static | getObjectInstanceByAlertCommon ($sAlertType, $sUnit, $sAction) |
static | getObjectInstanceByAlertAdd ($sUnit, $sAction) |
static | getObjectInstanceByAlertUpdate ($sUnit, $sAction) |
static | getObjectInstanceByAlertDelete ($sUnit, $sAction) |
static | getObjectInstanceByGrid ($sGrid) |
static & | getSystems () |
static & | getGrids () |
static & | getSystemsByAlertType ($sAlertType) |
static | formatFields ($aContentInfo) |
Get content info from Content modules
Add record to sys_objects_content_info table to provide unified access to module's content, to get content info just create an instance of this class and request content info by id, for example:
static getObjectInstance($sSystem)
Definition BxDolContentInfo.php:62
Description of sys_objects_content_info table fields:
`name` - system name, it is better to use unique module prefix here, lowercase and all spaces are underscored
`alert_unit` - unit name of the alert which will be fired
`alert_action_add` - action name of the alert which is fired after a content was added
`alert_action_update` - action name of the alert which is fired after a content was updated
`alert_action_delete` - action name of the alert which is fired after a content was deleted
`class_name` - your custom class name, if you overrride default class
`class_file` - your custom class path