UNA
BxTimelineConfig Class Reference
Inheritance diagram for BxTimelineConfig:
BxBaseModNotificationsConfig BxBaseModGeneralConfig BxDolModuleConfig BxDol

Public Member Functions

 __construct ($aModule)
 init (&$oDb)
 getJsObjectView ($aParams=array())
 getHtmlIdView ($sKey, $aParams, $aRules=array())
 isAllowEdit ()
 isAllowDelete ()
 isInfiniteScroll ()
 isShowAll ()
 isCountAllViews ()
 isContentOwnActions ()
 isRepostOwnActions ()
 isHideUponDelete ()
 isBriefCards ()
 isJumpTo ()
 isSortByReaction ()
 isSortByUnread ()
 isHot ()
 getHotSourcesList ()
 getHotSources ()
 isHotSource ($sName)
 getHotThreshold ($sSource)
 isHotEvent ($iEventId)
 getForYouSourcesList ()
 getForYouSources ()
 getForYouThresholdRecomFrds ()
 getForYouThresholdRecomSbns ()
 isEditorToolbar ()
 isEditorAutoAttach ()
 isMediaPriority ()
 isUnhideRestored ()
 isCacheItem ()
 isCacheTable ()
 getCacheItemEngine ()
 getCacheItemLifetime ()
 getCacheItemKey ($iId, $sPostfix='')
 getCacheItemKeys ($iId, $sPostfix='')
 getCacheHotKey ()
 getCacheTableInterval ()
 getCacheTableCheckFields ()
 getSocketName ($aParams=[])
 getPostFormDisplay ($sType)
 getUploaders ($sField)
 getUploaderByMenuItem ($sMenuItem)
 getExtenalsEvery ($sType='default')
 getPerPreload ()
 getAutoPreloads ()
 getFiltersContextsHide ()
 getRssLength ()
 getLiveUpdateLength ()
 getCharsDisplayMinTitle ()
 getCharsDisplayMaxTitle ()
 getBriefCardsTags ($bAsString=false)
 getVideosPreload ()
 getVideosAutoplay ()
 getPreloadComments ()
 getAttachmentsLayout ()
 getHotInterval ()
 getHotContentAgeMux ()
 getLimitAttachLinks ()
 getRepostDefaults ($bForApi=false)
 getRepostParams ($bForApi=false)
 getPregPattern ($sType)
 getTitle ($s, $mixedProfile=false, $sMethodLength='getCharsDisplayMaxTitle')
 getTitleShort ($s, $mixedProfile=false)
 getTitleDefault ($bL, $bP, $bV, $bF)
 getDescription ($s, $mixedProfile=false, $sMethodLength='getCharsDisplayMaxTitle')
 getViewUrl ($iOwnerId, $bAbsolute=true)
 getHomeViewUrl ($bAbsolute=true)
 getItemViewUrl ($aEvent, $bAbsolute=true)
 getLiveUpdateKey ($aParams)
 isCommon ($sType, $sAction)
 isSystem ($sType, $sAction)
 getSystemData (&$aEvent, $aBrowseParams=array())
 getSystemDataByDescriptor ($sType, $sAction, $iObjectId)
 isEqualUrls ($sUrl1, $sUrl2)
 addBrowseParams ($sUrl, $aParams, $sKey='bp')
 getBrowseParams ($sValue)
 isBrowseItem ($aParams)
 isBrowseList ($aParams)
 setUserChoice ($aChoices=array())
 getUserChoice ($sKey, $iUserId=0)
 prepareParam ($sName, $sPattern="/^[\d\w_]+$/")
 prepareParamWithDefault ($sName, $sDefault, $sPattern="/^[\d\w_]+$/")
 processParam ($sValue, $sPattern="/^[\d\w_]+$/")
 processParamWithDefault ($sValue, $sDefault, $sPattern="/^[\d\w_]+$/")
Public Member Functions inherited from BxBaseModNotificationsConfig
 getHandlerFields ()
 getHandlerDescriptor ()
 getHandlersMethod ()
 getHandlersUnitTitle ($sUnit)
 getHandlersActionTitle ($sUnit, $sAction, $sType='')
 getHandlersActionInfo ($sUnit, $sAction, $sType='', $bTranslation=false)
 getHandler (&$aEvent)
 isHandler ($sKey='')
 getHandlers ($sKey='')
 getHandlersHidden ()
 getPrivacyObject ($sKey='')
 getPerPage ($sType='default')
 getHtmlIds ($sType, $sKey='')
 getAnimationEffect ()
 getAnimationSpeed ()
 getPrivacyViewDefault ($sType)
 getCfDefault ($sType)
Public Member Functions inherited from BxBaseModGeneralConfig
 getCNF ()
 getObject ($sType='')
 getPrefix ($sType='')
 getJsClass ($sType)
 getJsObject ($sType)
 getGridObject ($sType)
 isAutoApprove ()
 isAutoApproveEnabled ()
 getViewEntryUrl ($mixedData)
 getImageUrl ($iId, $aTranscoders)
 getDpnTime ()
Public Member Functions inherited from BxDolModuleConfig
 getId ()
 getName ()
 getClassPrefix ()
 getDbPrefix ()
 getDirectory ()
 getHomePath ()
 getClassPath ()
 getUri ()
 getBaseUri ()
 getHomeUrl ()

Protected Member Functions

 getNameView ($aParams, $aRules=array())

Protected Attributes

 $_aTypeToFormDisplay
 $_bAllowEdit
 $_bAllowDelete
 $_bShowAll
 $_bCountAllViews
 $_bContentOwnActions
 $_bRepostOwnActions
 $_bHideUponDelete
 $_bCacheItem
 $_sCacheItemEngine
 $_iCacheItemLifetime
 $_bCacheTable
 $_iCacheTableInterval
 $_aCacheTableCheckFields
 $_bInfScroll
 $_iInfScrollPerPreload
 $_iInfScrollAutoPreloads
 $_aFiltersContextsHide
 $_iRssLength
 $_iLiveUpdateLength
 $_iCharsDisplayMinTitle
 $_iCharsDisplayMaxTitle
 $_bBriefCards
 $_aBriefCardsTags
 $_sVideosPreload
 $_sVideosAutoplay
 $_iPreloadComments
 $_iPreloadCommentsMax
 $_bJumpTo
 $_bSortByReaction
 $_bSortByUnread
 $_sAttachmentsLayout
 $_bHot
 $_iHotInterval
 $_iHotThresholdContent
 $_iHotThresholdComment
 $_iHotThresholdVote
 $_fHotContentAgeMux
 $_aHotSources
 $_aHotSourcesList
 $_aHotList
 $_aForYouSources
 $_aForYouSourcesList
 $_iForYouThdRecomFrds
 $_iForYouThdRecomSbns
 $_bEditorToolbar
 $_bEditorAutoAttach
 $_bEnableMediaPriority
 $_iLimitAttachLinks
 $_bUnhideRestored
 $_sStorageObject
 $_sTranscoderObjectPreview
 $_sTranscoderObjectView
 $_aPhotoUploaders
 $_aVideoUploaders
 $_aFilesUploaders
 $_aItemToUploader
 $_sMenuItemManage
 $_sMenuItemActions
 $_aRepostDefaults
 $_aRepostDefaultsApi
 $_aRepostParamsApi
 $_iTimelineVisibilityThreshold
 $_aPregPatterns
 $_sSessionKeyType
Protected Attributes inherited from BxBaseModNotificationsConfig
 $_oDb
 $_aObjects
 $_aHandlerFields
 $_aHandlerDescriptor
 $_sHandlersMethod
 $_aHandlers
 $_aHandlersHidden
 $_aPerPage
 $_aHtmlIds
 $_sAnimationEffect
 $_iAnimationSpeed
 $_aPrivacyViewDefault
 $_aCfDefault
Protected Attributes inherited from BxBaseModGeneralConfig
 $_aObjects
 $_aPrefixes
 $_aJsClasses
 $_aJsObjects
 $_aHtmlIds
 $_aGridObjects
 $_bIsApi
 $_iDpnTime
Protected Attributes inherited from BxDolModuleConfig
 $_iId
 $_sName
 $_sVendor
 $_sClassPrefix
 $_sDbPrefix
 $_sDirectory
 $_sUri
 $_sHomePath
 $_sClassPath
 $_sHomeUrl

Additional Inherited Members

Public Attributes inherited from BxBaseModGeneralConfig
 $CNF

Constructor & Destructor Documentation

◆ __construct()

BxTimelineConfig::__construct ( $aModule)

Constructor

Reimplemented from BxBaseModNotificationsConfig.

Member Function Documentation

◆ getCacheTableCheckFields()

BxTimelineConfig::getCacheTableCheckFields ( )

Hooks:

'bx_timeline', 'cache_table_check_fields' - hook to override cache table fields, which should be checked

◆ getJsObjectView()

BxTimelineConfig::getJsObjectView ( $aParams = array())

Generates unique JS object name for View events block.

Parameters
array$aParams- an array with browsing params received in View block service method
Returns
string with JS object name

◆ getNameView()

BxTimelineConfig::getNameView ( $aParams,
$aRules = array() )
protected

Generate name from parameters.

Parameters
type$aParams- parameters whose values will be used during generation.
type$aRules- generation rules.
Returns
string

◆ getTitle()

BxTimelineConfig::getTitle ( $s,
$mixedProfile = false,
$sMethodLength = 'getCharsDisplayMaxTitle' )

Ancillary functions

◆ init()

BxTimelineConfig::init ( & $oDb)

Reimplemented from BxBaseModNotificationsConfig.

◆ isEqualUrls()

BxTimelineConfig::isEqualUrls ( $sUrl1,
$sUrl2 )

Reimplemented from BxBaseModGeneralConfig.


The documentation for this class was generated from the following file:
  • modules/boonex/timeline/classes/BxTimelineConfig.php