UNA3
|
Public Member Functions | |
__construct (&$oConfig, &$oDb) | |
addLocationBase () | |
unit ($aData, $isCheckPrivateContent=true, $mixedTemplate=false, $aParams=[]) | |
unitAPI ($aData, $aParams=[]) | |
unitVars ($aData, $isCheckPrivateContent=true, $mixedTemplate=false, $aParams=[]) | |
isProfilePublic ($aData) | |
getSnippetMenuVars ($iProfileId, $bPublic=null, $aParams=[]) | |
getBlockCover ($aData, $aParams=[]) | |
prepareCover ($aData, $aParams=[]) | |
setCover ($oPage, $aData, $sTemplateName='cover.html') | |
avatar ($aData, $bSubstituteNoImage=true) | |
thumb ($aData, $bSubstituteNoImage=true) | |
icon ($aData, $bSubstituteNoImage=true) | |
urlIcon ($aData, $bSubstituteNoImage=true) | |
urlThumb ($aData, $bSubstituteNoImage=true) | |
urlAvatar ($aData, $bSubstituteNoImage=true) | |
urlAvatarBig ($aData, $bSubstituteNoImage=true) | |
urlPicture ($aData, $bSubstituteNoImage=true) | |
urlCover ($aData, $bSubstituteNoImage=false) | |
urlCoverUnit ($aData, $bSubstituteNoImage=true) | |
_image ($sField, $sTranscodeObject, $sNoImage, $aData, $bSubstituteNoImage=true) | |
Public Member Functions inherited from BxBaseModGeneralTemplate | |
getJsCode ($sType, $aParams=array(), $mixedWrap=true) | |
getTitleAuto ($aData, $iMaxLen=20, $sEllipsisSign='...') | |
getTitle ($aData, $mixedProcessOutput=BX_DATA_TEXT) | |
getText ($aData, $mixedProcessOutput=BX_DATA_HTML) | |
getProfileLink ($mixedProfile) | |
getLink ($sTemplate, $aParams) | |
getContextAddon ($aData, $oProfile) | |
getContextDesc ($aData) | |
getTmplVarsText ($aData) | |
entryBreadcrumb ($aContentInfo, $aTmplVarsItems=array()) | |
entryText ($aData, $sTemplateName='entry-text.html') | |
entryLocation ($iContentId) | |
entryInfo ($aData, $aValues=array()) | |
getFavoriteList ($oProfile, $iStart, $iPerPage, $aParams) | |
getFavoritesListInfo ($aList, $oProfile) | |
getBrowsingFilters ($aParams) | |
entryAllActions ($sActions) | |
entryAttachments ($aData, $aParams=array()) | |
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, $sUploader, $sStorage, $sField, $bAllowTweak) | |
addCssJs () | |
Public Member Functions inherited from BxDolModuleTemplate | |
__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 | |
_getUnitClass ($aData, $sTemplateName='unit.html') | |
_getUnitSize ($aData, $sTemplateName='unit.html') | |
_getUnitThumbUrl ($sSize, $aData, $bSubstituteNoImage=true) | |
Protected Member Functions inherited from BxBaseModGeneralTemplate | |
getSummary ($aData, $sTitle='', $sText='', $sUrl='') | |
getAttachmentsImagesTranscoders ($sStorage='') | |
getAttachmentsVideoTranscoders ($sStorage='') | |
getAttachments ($sStorage, $aData, $aParams=array()) | |
_embedChecks ($sStorageKey, $iFileId) | |
Protected Attributes | |
$_sUnitDefault | |
$_sUnitSizeDefault | |
$_sUnitClass | |
$_sUnitClassWithCover | |
$_sUnitClassWoInfo | |
$_sUnitClassWoInfoShowCase | |
$_sUnitClassShowCase | |
$_bLetterAvatar | |
Protected Attributes inherited from BxBaseModGeneralTemplate | |
$MODULE | |
$_bIsApi | |
Protected Attributes inherited from BxDolModuleTemplate | |
$_oDb | |
$_oConfig | |
$_bObStarted = 0 | |
$_oModule | |
Additional Inherited Members | |
Public Attributes inherited from BxBaseModGeneralTemplate | |
$aMethodsToCallAddJsCss = array('entry', 'unit') | |
BxBaseModProfileTemplate::__construct | ( | & | $oConfig, |
& | $oDb ) |
Reimplemented from BxBaseModGeneralTemplate.
|
protected |
|
protected |
|
protected |
BxBaseModProfileTemplate::_image | ( | $sField, | |
$sTranscodeObject, | |||
$sNoImage, | |||
$aData, | |||
$bSubstituteNoImage = true ) |
Get profile picture icon url
BxBaseModProfileTemplate::addLocationBase | ( | ) |
Reimplemented from BxBaseModGeneralTemplate.
BxBaseModProfileTemplate::avatar | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile picture thumb url
BxBaseModProfileTemplate::getBlockCover | ( | $aData, | |
$aParams = [] ) |
BxBaseModProfileTemplate::getSnippetMenuVars | ( | $iProfileId, | |
$bPublic = null, | |||
$aParams = [] ) |
BxBaseModProfileTemplate::icon | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile picture thumb url
BxBaseModProfileTemplate::isProfilePublic | ( | $aData | ) |
BxBaseModProfileTemplate::prepareCover | ( | $aData, | |
$aParams = [] ) |
BxBaseModProfileTemplate::setCover | ( | $oPage, | |
$aData, | |||
$sTemplateName = 'cover.html' ) |
Get profile cover
BxBaseModProfileTemplate::thumb | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile picture thumb url
BxBaseModProfileTemplate::unit | ( | $aData, | |
$isCheckPrivateContent = true, | |||
$mixedTemplate = false, | |||
$aParams = [] ) |
Get profile unit
Allow use separate template for private profiles. These templates will be used if privacy field "Visible to" don't allow to view content. To use them you need to create a template with a postfix "_private" and put it in specified module Example: "unit_private.html" for "unit.html" or "unit_wo_links_private.html" for "unit_wo_links.html"
BxBaseModProfileTemplate::unitAPI | ( | $aData, | |
$aParams = [] ) |
BxBaseModProfileTemplate::unitVars | ( | $aData, | |
$isCheckPrivateContent = true, | |||
$mixedTemplate = false, | |||
$aParams = [] ) |
BxBaseModProfileTemplate::urlAvatar | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile avatar url
BxBaseModProfileTemplate::urlAvatarBig | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile avatar big url
BxBaseModProfileTemplate::urlCover | ( | $aData, | |
$bSubstituteNoImage = false ) |
Get profile cover image url
BxBaseModProfileTemplate::urlCoverUnit | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile cover image url for browse unit
BxBaseModProfileTemplate::urlIcon | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile picture icon url
BxBaseModProfileTemplate::urlPicture | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile picture url
BxBaseModProfileTemplate::urlThumb | ( | $aData, | |
$bSubstituteNoImage = true ) |
Get profile thumb url
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |