UNA
Loading...
Searching...
No Matches
BxBaseCmtsMenuUnitMeta Class Reference
Inheritance diagram for BxBaseCmtsMenuUnitMeta:
BxTemplMenuUnitMeta BxBaseMenuUnitMeta BxTemplMenuCustom BxBaseMenuCustom BxBaseMenuCustom BxTemplMenuMoreAuto BxTemplMenuMoreAuto BxBaseMenuMoreAuto BxBaseMenuMoreAuto BxTemplMenu BxTemplMenu BxBaseMenu BxBaseMenu BxBaseMenu BxBaseMenu BxBaseMenu BxBaseMenu BxDolMenu BxDolMenu BxDolMenu BxDolMenu BxDolMenu BxDolMenu iBxDolReplaceable iBxDolFactoryObject BxDolFactory iBxDolReplaceable iBxDolFactoryObject BxDolFactory iBxDolReplaceable iBxDolFactoryObject BxDolFactory iBxDolReplaceable iBxDolFactoryObject BxDolFactory iBxDolReplaceable iBxDolFactoryObject BxDolFactory iBxDolReplaceable iBxDolFactoryObject BxDolFactory BxTemplCmtsMenuUnitMeta BxTemplCmtsMenuUnitMeta

Public Member Functions

 __construct ($aObject, $oTemplate)
 
 setCmtsData ($oCmts, $iCmtId)
 
- Public Member Functions inherited from BxBaseMenuUnitMeta
 setContext ($sContext)
 
 getUnitMetaItemLink ($sContent, $aAttrs=array())
 
 getUnitMetaItemText ($sContent, $aAttrs=array())
 
 getUnitMetaItemButton ($sContent, $aAttrs=array())
 
 getUnitMetaItemButtonSmall ($sContent, $aAttrs=array())
 
 getUnitMetaItemNl ($sContent='')
 
 getUnitMetaItemCustom ($sContent)
 
 getUnitMetaItemExtended ($sContent='', $sIcon='', $sUrl='', $bIsNoBg=false, $bIsNoPadding=false)
 
 getUnitMetaItem ($sName, $sContent, $aAttrs=array(), $sTemplate='unit_meta_item.html')
 
 getUnitMetaItemButtonOrLink ($sName, $sContent, $aAttrs=array())
 
- Public Member Functions inherited from BxBaseMenuCustom
 getTemplateNameItem ($sName='')
 
 setTemplateById ($iTemplateId)
 
- Public Member Functions inherited from BxBaseMenuMoreAuto
 getCode ()
 
 isMoreAuto ()
 
- Public Member Functions inherited from BxBaseMenu
 getDisplayAddons ()
 
 setDisplayAddons ($b)
 
 getCodeAPI ()
 
 getCodeItem ($sName)
 
 getMenuItems ()
 
 getMenuItem ($sName)
 
 getMenuIconHtml ($sIcon)
 
- Public Member Functions inherited from BxDolMenu
 isVisible ()
 
 getTemplateId ()
 
 getTemplateName ($sName='')
 
 setSelected ($sModule, $sName)
 
 setDynamicMode ($bDynamicMode)
 
 getMarkers ()
 
 addMarkers ($a)
 
 removeMarker ($s)
 
 performActionSetCollapsed ($mixedValue)
 
 performActionSetCollapsedSubmenu ($sMenuItem, $mixedValue)
 
 getUserChoiceCollapsed ($sObject='')
 
 getUserChoiceCollapsedSubmenu ($mixedItem, $sObject='')
 

Protected Member Functions

 _getMenuItemInReplyTo ($aItem)
 
 _getMenuItemAuthor ($aItem)
 
 _getMenuItemDate ($aItem)
 
 _getMenuItemMembership ($aItem)
 
 _getMenuItemDefault ($aItem)
 
- Protected Member Functions inherited from BxBaseMenuUnitMeta
 _getMenuItemNl ($aItem)
 
 _getMenuItemAPI ($aItem, $mixedType='text', $aData=[])
 
 _getMenuItemElementAPI ($aItem, $aElement)
 
 _buttonsCounterReset ()
 
 _buttonsCounterIncrement ()
 
 _buttonsCounterCheck ()
 
 _isVisibleInContext ($aItem)
 
- Protected Member Functions inherited from BxTemplMenuCustom
 _getMenuItem ($a)
 
- Protected Member Functions inherited from BxBaseMenuCustom
 _getCode ($sTmplName, $aTmplVars)
 
 _getMenuItemMoreAuto ($aItem)
 
 _getMenuItemDefaultApi ($aItem)
 
 _getTmplContentItem ()
 
- Protected Member Functions inherited from BxBaseMenuMoreAuto
 _isMoreAuto ()
 
 _getTemplateVars ()
 
 _getJsCodeMoreAuto ()
 
 _getHtmlIds ()
 
 _getHtmlIdMain ()
 
 _getJsClassMoreAuto ()
 
 _getJsObjectMoreAuto ()
 
 _getTmplContentItemMore ()
 
 _getTmplContentItemMorePopup ()
 
- Protected Member Functions inherited from BxBaseMenu
 getMenuItemsRaw ()
 
 _getMenuIcon ($a)
 
 _getMenuAddon ($aMenuItem)
 
 _getMenuMarkers ($aMenuItem)
 
 _getMenuAttrs ($aMenuItem)
 
 _addJsCss ()
 
 _getTmplVarsAddon ($mixedAddon, $aMenuItem)
 
- Protected Member Functions inherited from BxDolMenu
 __construct ($aObject)
 
 _setCollapsed ($sName, $mixedValue)
 
 _isSelected ($a)
 
 _isActive ($a)
 
 _isVisible ($a)
 
 _getVisibilityClass ($a)
 
 _replaceMarkers ($a)
 

Protected Attributes

 $_oCmts
 
 $_aCmtsSystem
 
 $_aCmt
 
 $_sCmtStylePrefix
 
- Protected Attributes inherited from BxBaseMenuUnitMeta
 $_sStylePrefix
 
 $_sContext
 
 $_iButtons
 
 $_iButtonsMax
 
- Protected Attributes inherited from BxBaseMenuCustom
 $_sTmplContent
 
 $_sTmplContentItem
 
- Protected Attributes inherited from BxBaseMenuMoreAuto
 $_sTmplNameItemMore
 
 $_sTmplNameItemMorePopup
 
 $_bMoreAuto
 
 $_iMoreAutoItemsStatic
 
 $_bMoreAutoItemsStaticOnly
 
 $_sJsClassMoreAuto
 
 $_sJsObjectMoreAuto
 
 $_sJsCallMoreAuto
 
 $_aHtmlIds
 
- Protected Attributes inherited from BxBaseMenu
 $_oTemplate
 
 $_iPageType
 
 $_aOptionalParams = array('target' => '', 'onclick' => '')
 
 $_bDisplayAddons = false
 
 $_aSelected
 
- Protected Attributes inherited from BxDolMenu
 $_bIsApi
 
 $_bHx
 
 $_bHxHead
 
 $_mHxPreload
 
 $_aHx
 
 $_bDynamicMode
 
 $_bAddNoFollow
 
 $_bSelModuleCheck
 
 $_sSelModule
 
 $_sSelName
 
 $_sObject
 
 $_aObject
 
 $_oQuery
 
 $_oPermalinks
 
 $_aMarkers = array()
 
 $_bMultilevel = false
 
 $_sSessionKeyCollapsed
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolMenu
static getObjectInstance ($sObject, $oTemplate=false)
 
static setSelectedGlobal ($sModule, $sName)
 
static processMenuTrigger ($sMenuTriggerName)
 
- Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)
 
- Static Protected Attributes inherited from BxBaseMenuMoreAuto
static $_sTmplContentItemMore
 
static $_sTmplContentItemMorePopup
 
- Static Protected Attributes inherited from BxDolMenu
static $SEL_MODULE = ''
 
static $SEL_NAME = ''
 

Detailed Description

Menu representation.

See also
BxDolMenu

Constructor & Destructor Documentation

◆ __construct()

BxBaseCmtsMenuUnitMeta::__construct ( $aObject,
$oTemplate )

Reimplemented from BxTemplMenuUnitMeta.

Member Function Documentation

◆ _getMenuItemDefault()

BxBaseCmtsMenuUnitMeta::_getMenuItemDefault ( $aItem)
protected

Hooks:

'comment', 'menu_custom_item' - hook to override menu item

  • $unit_name - equals comment
  • $action - equals menu_custom_item
  • $object_id - not used
  • $sender_id - not used
  • $extra_params - array of additional params with the following array keys:
    • res - [string] by ref, menu item code, can be overridden in hook processing
    • menu - [string] menu name
    • menu_object - [object] an instance of menu,
      See also
      BxDolMenu
    • item - [array] menu item array as key&value pairs
    • content_id - [int] content id
    • content_data - [array] content info array as key&value pairs
    • cmts_object - [object] an instance of comments,
      See also
      BxDolCmts
      HOOKS
      'comment', 'menu_custom_item' - hook to override menu item

Reimplemented from BxBaseMenuUnitMeta.


The documentation for this class was generated from the following file: