UNA
|
Public Member Functions | |
__construct (&$oConfig, &$oDb) | |
addLocationBase () | |
getJsCode ($sType, $aParams=array(), $bWrap=true) | |
unit ($aData, $isCheckPrivateContent=true, $sTemplateName='unit.html', $aParams=array()) | |
entryAttachments ($aData, $aParams=array()) | |
entryAuthor ($aData, $iProfileId=false, $sFuncAuthorDesc='getAuthorDesc', $sTemplateName='author.html', $sFuncAuthorAddon='getAuthorAddon') | |
entryBreadcrumb ($aContentInfo, $aTmplVarsItems=array()) | |
entryPolls ($aData) | |
entryPollAnswers ($aPoll, $bDynamic=false) | |
entryPollResults ($aPoll, $bDynamic=false) | |
getPollForm () | |
getPollField ($iContentId=0, $iProfileId=0) | |
getPollItem ($mixedPoll, $iProfileId=0, $aParams=array()) | |
embedPollItem ($mixedPoll, $aParams=array()) | |
embedPollItems ($mixedContentInfo, $aParams=array()) | |
getAttachLinkForm ($iContentId=0) | |
getAttachLinkField ($iUserId, $iContentId=0) | |
getAttachLinkItem ($iUserId, $mixedLink) | |
getEventLinks ($iContentId) | |
getTmplVarsText ($aData) | |
getAuthorDesc ($aData, $oProfile) | |
getAuthorProfileDesc ($aData, $oProfile) | |
getProfileSnippetMenu ($aData) | |
getAuthorAddon ($aData, $oProfile) | |
mediaExif ($aMediaInfo, $iProfileId=false, $sFuncAuthorDesc='', $sTemplateName='media-exif.html') | |
![]() | |
getTitleAuto ($aData, $iMaxLen=20, $sEllipsisSign='...') | |
getTitle ($aData, $mixedProcessOutput=BX_DATA_TEXT) | |
getAbstract ($aData, $mixedProcessOutput=BX_DATA_TEXT) | |
getText ($aData, $mixedProcessOutput=BX_DATA_HTML) | |
getProfileLink ($mixedProfile) | |
getLink ($sTemplate, $aParams) | |
getContextAddon ($aData, $oProfile) | |
getContextDesc ($aData) | |
entryText ($aData, $sTemplateName='entry-text.html') | |
entryLocation ($iContentId) | |
entryInfo ($aData, $aValues=array()) | |
getFavoriteList ($oProfile, $iStart, $iPerPage, $aParams) | |
getFavoritesListInfo ($aList, $oProfile) | |
getBrowsingFilters ($aParams) | |
entryAllActions ($sActions) | |
entryAttachmentsByStorage ($mixedStorage, $aData, $aParams=array()) | |
entryContext ($aData, $iProfileId=false, $sFuncContextDesc='getContextDesc', $sTemplateName='context.html', $sFuncContextAddon='getContextAddon') | |
getAttachmentsData ($sStorage, $aData, $aParams=array()) | |
embedVideo ($iFileId) | |
embedSound ($iFileId) | |
_getImageSettings ($sSettings) | |
_prepareImage ($aData, $sUniqId, $aUploaders, $sStorage, $sField, $bAllowTweak, $bAllowMultiple=false) | |
addCssJs () | |
![]() | |
__construct (&$oConfig, &$oDb, $sRootPath=BX_DIRECTORY_PATH_ROOT, $sRootUrl=BX_DOL_URL_ROOT) | |
getModule () | |
init () | |
addCssSystem ($mixedFiles, $bDynamic=false) | |
addCss ($mixedFiles, $bDynamic=false) | |
addJsSystem ($mixedFiles, $bDynamic=false) | |
addJs ($mixedFiles, $bDynamic=false) | |
addJsTranslation ($mixedKey, $bDynamic=false) | |
addStudioCss ($mixedFiles, $bDynamic=false, $bSearchInModule=true) | |
addStudioCssSystem ($mixedFiles, $bDynamic=false, $bSearchInModule=true) | |
addStudioJs ($mixedFiles, $bDynamic=false, $bSearchInModule=true) | |
addStudioJsSystem ($mixedFiles, $bDynamic=false, $bSearchInModule=true) | |
addStudioJsTranslation ($mixedKey) | |
_addFiles ($oTemplate, $sFuncAddFiles, $sFuncIsLocation, $sFuncAddLocation, $sFuncRemoveLocation, $sPath, $mixedFiles, $bDynamic=false, $bSearchInModule=true, $aLocations=array()) | |
addStudioInjection ($sKey, $sType, $sData, $iReplace=0) | |
pageStart () | |
pageEnd ($isGetContent=true) | |
isMethodExists ($s) | |
Protected Member Functions | |
_addCssJs () | |
_getPollAnswers ($aPoll, $bDynamic=false) | |
_getPollResults ($aPoll, $bDynamic=false) | |
_getPollBlockMenu ($aPoll, $sSelected='', $aParams=array()) | |
checkPrivacy ($aData, $isCheckPrivateContent, $oModule, $sTemplateName='') | |
getUnitThumbAndGallery ($aData) | |
getUnit ($aData, $aParams=array()) | |
getAttachmentsImagesTranscoders ($sStorage='') | |
_getUnitName ($aData, $sTemplateName='unit.html') | |
_getUnitClass ($aData, $sTemplateName='unit.html') | |
_getUnitHtmlId ($aData, $sTemplateName='unit.html') | |
_getHeaderImageParams () | |
_getHeaderImage ($aData) | |
![]() | |
getSummary ($aData, $sTitle='', $sText='', $sUrl='') | |
getAttachmentsVideoTranscoders ($sStorage='') | |
getAttachments ($sStorage, $aData, $aParams=array()) | |
_embedChecks ($sStorageKey, $iFileId) | |
Protected Attributes | |
$_sUnitClassShowCase | |
![]() | |
$MODULE | |
$_bIsApi | |
![]() | |
$_oDb | |
$_oConfig | |
$_bObStarted = 0 | |
$_oModule | |
Additional Inherited Members | |
![]() | |
$aMethodsToCallAddJsCss = array('entry', 'unit') | |
Module representation.
BxBaseModTextTemplate::__construct | ( | & | $oConfig, |
& | $oDb ) |
Reimplemented from BxBaseModGeneralTemplate.
Reimplemented in BxAlbumsTemplate, BxCnvTemplate, BxForumTemplate, BxGlsrTemplate, BxPhotosTemplate, BxPollsTemplate, BxShopifyTemplate, BxSnipcartTemplate, BxStoriesTemplate, and BxVideosTemplate.
BxBaseModTextTemplate::addLocationBase | ( | ) |
Reimplemented from BxBaseModGeneralTemplate.
BxBaseModTextTemplate::entryAttachments | ( | $aData, | |
$aParams = array() ) |
Reimplemented from BxBaseModGeneralTemplate.
BxBaseModTextTemplate::entryBreadcrumb | ( | $aContentInfo, | |
$aTmplVarsItems = array() ) |
Reimplemented from BxBaseModGeneralTemplate.
|
protected |
Reimplemented from BxBaseModGeneralTemplate.
BxBaseModTextTemplate::getJsCode | ( | $sType, | |
$aParams = array(), | |||
$bWrap = true ) |
Reimplemented from BxBaseModGeneralTemplate.
BxBaseModTextTemplate::getTmplVarsText | ( | $aData | ) |
system
image_editor
module
- [string] module namecontent_id
- [int] profile content idis_allow_edit
- [boolean] if edit action is allowed to current userimage_type
- [string] image type equals to header_image
image_url
- [string] image URLuploader
- [string] uploader namestorage
- [string] storage nametranscoder
- [string] transcoder namefield
- [string] field nameis_background
- [boolean] if image is used as background, always false
add_class
- [string] by ref, class to add, can be overridden in hook processingadd_code
- [array] by ref, code to add, can be overridden in hook processing
Reimplemented from BxBaseModGeneralTemplate.
|
protected |
Reimplemented in BxAdsTemplate, BxClssTemplate, BxGlsrTemplate, BxPostsTemplate, BxReviewsTemplate, BxStrmTemplate, BxTasksTemplate, and BxVideosTemplate.
BxBaseModTextTemplate::unit | ( | $aData, | |
$isCheckPrivateContent = true, | |||
$sTemplateName = 'unit.html', | |||
$aParams = array() ) |
unit
data
- [array] content info array as key&value pairscheck_private_content
- [boolean] check if it's a provate contenttemplate
- [string] or [array] with template for content unitparams
- [array] additional params array as key&value pairstmpl_name
- [string] by ref, template name, can be overridden in hook processingtmpl_vars
- [array] by ref, template parsable variables as key&value pairs, can be overridden in hook processing