UNA
Loading...
Searching...
No Matches
BxBaseModGeneralMenuViewActions Class Reference
Inheritance diagram for BxBaseModGeneralMenuViewActions:
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 BxBaseModProfileMenuViewActionsAll BxBaseModTextMenuViewActions BxBaseModGroupsMenuViewActionsAll BxPersonsMenuViewActionsAll BxAdsMenuViewActions BxAlbumsMenuViewActions BxClssMenuViewActions BxFilesMenuViewActions BxForumMenuViewActions BxGlsrMenuViewActions BxMarketMenuViewActions BxPhotosMenuViewActions BxPollsMenuViewActions BxPostsMenuViewActions BxReviewsMenuViewActions BxShopifyMenuViewActions BxSnipcartMenuViewActions BxStrmMenuViewActions BxTasksMenuViewActions BxVideosMenuViewActions

Public Member Functions

 __construct ($aObject, $oTemplate=false)
 
 addMarkers ($a)
 
 setContentId ($iContentId)
 
 setShowAsButton ($bShowAsButton)
 
- 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 ()
 
 removeMarker ($s)
 
 performActionSetCollapsed ($mixedValue)
 
 performActionSetCollapsedSubmenu ($sMenuItem, $mixedValue)
 
 getUserChoiceCollapsed ($sObject='')
 
 getUserChoiceCollapsedSubmenu ($mixedItem, $sObject='')
 

Protected Member Functions

 _isVisible ($a)
 
 _isContentPublic ($iContentId, $aPublicGroups=[])
 
 _initMenuSocialSharing ()
 
 _getMenuItemDefault ($aItem)
 
 _getMenuItemView ($aItem, $aParams=array())
 
 _getMenuItemComment ($aItem, $aParams=array())
 
 _getMenuItemVote ($aItem, $aParams=array())
 
 _getMenuItemReaction ($aItem, $aParams=array())
 
 _getMenuItemScore ($aItem, $aParams=array())
 
 _getMenuItemFavorite ($aItem, $aParams=array())
 
 _getMenuItemFeature ($aItem, $aParams=array())
 
 _getMenuItemRepost ($aItem, $aParams=array())
 
 _getMenuItemRepostWithText ($aItem, $aParams=[])
 
 _getMenuItemRepostToContext ($aItem, $aParams=[])
 
 _getMenuItemReport ($aItem, $aParams=array())
 
 _getMenuItemSocialSharing ($aItem, $aParams=array())
 
 _getMenuItemNotes ($aItem, $aParams=array())
 
 _getMenuItemByNameActions ($aItem, $aParams=array())
 
 _getMenuItemByNameSocialSharing ($aItem, $aParams=array())
 
 _getMenuItemByNameActionDelete ($aItem)
 
 _getMenuItemByNameActionsMore ($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)
 
 _getVisibilityClass ($a)
 
 _replaceMarkers ($a)
 

Protected Attributes

 $_sModule
 
 $_oModule
 
 $_oMenuActions
 
 $_oMenuActionsMore
 
 $_oMenuSocialSharing
 
 $_iContentId
 
 $_aContentInfo
 
 $_bDynamicMode
 
 $_bShowAsButton
 
 $_bShowTitle
 
 $_sClassMiSa
 
- 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

View entry social actions menu

Constructor & Destructor Documentation

◆ __construct()

BxBaseModGeneralMenuViewActions::__construct ( $aObject,
$oTemplate = false )

Reimplemented from BxTemplMenuCustom.

Member Function Documentation

◆ _getMenuItemDefault()

BxBaseModGeneralMenuViewActions::_getMenuItemDefault ( $aItem)
protected

Reimplemented from BxBaseMenuCustom.

◆ _initMenuSocialSharing()

BxBaseModGeneralMenuViewActions::_initMenuSocialSharing ( )
protected

Adding current markers to social sharing menu object to force it to generate its own markers. Getting generated social sharing markers back and adding all of them to current menu object. So, now these markers can be parsed for any menu item.

◆ _isVisible()

BxBaseModGeneralMenuViewActions::_isVisible ( $a)
protected

Check if menu items is visible with extended checking linked to "allow*" method of particular module Associated "allow*" method with particular menu item is stored in module config in MENU_ITEM_TO_METHOD array.

Parameters
$amenu item array
Returns
boolean

Reimplemented from BxDolMenu.

◆ addMarkers()

BxBaseModGeneralMenuViewActions::addMarkers ( $a)

Add replace markers.

Parameters
$aarray of markers as key => value
Returns
true on success or false on error

Reimplemented from BxDolMenu.


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