Cheetah
|
Public Member Functions | |
__construct (&$oConfig, &$oDb) | |
setModule (&$oModule) | |
getSystem ($aEvent, $sDisplayType=CH_WALL_VIEW_TIMELINE) | |
getCommon ($aEvent) | |
_getSystemData (&$aEvent, $sDisplayType=CH_WALL_VIEW_TIMELINE) | |
_getCommonData ($aEvent) | |
_getCommonMedia ($sType, $iObject) | |
getEmpty ($bVisible) | |
getDivider (&$iDays, &$aEvent) | |
getDividerToday ($aEvent=array()) | |
getTimeline ($iStart, $iPerPage, $sFilter, $sTimeline, $aModules) | |
getLoadMore ($iStart, $iPerPage, $bEnabled=true, $bVisible=true) | |
getLoadMoreOutline ($iStart, $iPerPage, $bEnabled=true, $bVisible=true) | |
getUploader ($iOwnerId, $sType, $sSubType='') | |
displayProfileEdit ($aEvent) | |
displayProfileEditStatusMessage ($aEvent) | |
displayProfileCommentAdd ($aEvent) | |
displayProfileCommentPost ($aEvent) | |
displayFriendAccept ($aEvent) | |
getOwnerThumbnail ($iOwnerId) | |
getOwnerIcon ($iOwnerId) | |
getComments ($aEvent, $aResult) | |
getDefaultComments ($iEventId) | |
getJsCode ($sType, $aParams=array(), $aRequestParams=array()) | |
getRepostElement ($iOwnerId, $sType, $sAction, $iObjectId, $aParams=array()) | |
getRepostCounter ($aEvent, $aParams=array()) | |
getRepostedBy ($iId) | |
getRepostJsScript () | |
getRepostJsClick ($iOwnerId, $sType, $sAction, $mixedObjectId) | |
![]() | |
__construct (&$oConfig, &$oDb, $sRootPath=CH_DIRECTORY_PATH_ROOT, $sRootUrl=CH_WSB_URL_ROOT) | |
addAdminCss ($mixedFiles, $bDynamic=false) | |
addAdminJs ($mixedFiles, $bDynamic=false) | |
pageCodeAdminStart () | |
pageCodeAdmin ($sTitle) | |
pageStart () | |
pageEnd ($isGetContent=true) | |
_parseAnything ($s, $sDiv, $sLinkStart, $sClassName='') | |
![]() | |
__construct ($sRootPath=CH_DIRECTORY_PATH_ROOT, $sRootUrl=CH_WSB_URL_ROOT) | |
loadTemplates () | |
init () | |
addLocation ($sKey, $sLocationPath, $sLocationUrl) | |
addDynamicLocation ($sLocationPath, $sLocationUrl) | |
removeLocation ($sKey) | |
addLocationJs ($sKey, $sLocationPath, $sLocationUrl) | |
addDynamicLocationJs ($sLocationPath, $sLocationUrl) | |
removeLocationJs ($sKey) | |
getCodeKey () | |
getCode () | |
getPageWidth () | |
setPageWidth ($sWidth) | |
setPageTitle ($sTitle) | |
setPageMainBoxTitle ($sTitle) | |
setPageDescription ($sDescription) | |
addJsOption ($mixedName) | |
addJsTranslation ($mixedKey) | |
addJsImage ($aImages) | |
addJsIcon ($aIcons) | |
addCssStyle ($sName, $sContent) | |
addPageKeywords ($mixedKeywords, $sDevider=',') | |
setOpenGraphInfo ($a, $sNamespace='og') | |
getMetaInfo () | |
getTemplate ($sName) | |
getIconUrl ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
getIconPath ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
getImageUrl ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
getImagePath ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
getCssUrl ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
getCssPath ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
getHtml ($sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
parseHtmlByName ($sName, $aVariables, $mixedKeyWrapperHtml=null, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
parseHtmlByContent ($sContent, $aVariables, $mixedKeyWrapperHtml=null) | |
parseHtmlByTemplateName ($sName, $aVariables, $mixedKeyWrapperHtml=null) | |
parsePageByName ($sName, $aVariables) | |
parseSystemKey ($sKey, $mixedKeyWrapperHtml=null) | |
getTemplatesCacheObject () | |
getCached ($sName, &$aVariables, $mixedKeyWrapperHtml=null, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH, $bEvaluate=true) | |
addJs ($mixedFiles, $bDynamic=false) | |
addJsSystem ($mixedFiles) | |
deleteJs ($mixedFiles) | |
deleteJsSystem ($mixedFiles) | |
_compileJs ($sAbsolutePath, &$aIncluded) | |
_wrapInTagJs ($sFile) | |
_wrapInTagJsCode ($sCode) | |
addCss ($mixedFiles, $bDynamic=false) | |
addCssAsync ($mixedFiles) | |
includeCssAsync () | |
addCssSystem ($mixedFiles) | |
deleteCss ($mixedFiles) | |
deleteCssSystem ($mixedFiles) | |
_compileCss ($sAbsolutePath, &$aIncluded) | |
_minifyCss ($s) | |
_wrapInTagCss ($sFile) | |
_wrapInTagCssCode ($sCode) | |
includeCssStyles () | |
includeFiles ($sType, $bSystem=false) | |
_includeFiles ($sType, &$aFiles) | |
_processFiles ($sType, $sAction, $mixedFiles, $bDynamic=false, $bSystem=false) | |
_parseContent ($sContent, $aVariables, $mixedKeyWrapperHtml=null) | |
_compileContent ($sContent, $aVarName, $iVarDepth, $aVarValues, $mixedKeyWrapperHtml=null) | |
_getAbsoluteLocation ($sType, $sFolder, $sName, $sCheckIn=CH_WSB_TEMPLATE_CHECK_IN_BOTH) | |
_getAbsoluteLocationJs ($sType, $sName) | |
_getAbsoluteLocationCss ($sType, $sName) | |
_getInlineData ($sType, $sName, $sCheckIn) | |
_getCacheFileName ($sType, $sAbsolutePath) | |
_getKeyWrappers ($mixedKeyWrapperHtml) | |
_processJsTranslations () | |
_processJsOptions () | |
_processJsImages () | |
_getLoaderUrl ($sType, $sName) | |
displayAccessDenied () | |
displayNoData () | |
displayErrorOccured () | |
displayPageNotFound () | |
displayMsg ($s, $bTranslate=false) | |
processInjection ($iPageIndex, $sKey, $sValue="") | |
addInjection ($sKey, $sType, $sData, $iReplace=0) | |
Public Attributes | |
$_oModule | |
![]() | |
$_oDb | |
$_oConfig | |
$_bObStarted = 0 | |
![]() | |
$_sPrefix | |
$_sRootPath | |
$_sRootUrl | |
$_sInjectionsTable | |
$_sInjectionsCache | |
$_sCode | |
$_sCodeKey | |
$_sKeyWrapperHtml | |
$_sFolderHtml | |
$_sFolderCss | |
$_sFolderImages | |
$_sFolderIcons | |
$_aTemplates | |
$_aLocations | |
$_aLocationsJs | |
$_bCacheEnable | |
$_sCacheFolderUrl | |
$_sCachePublicFolderUrl | |
$_sCachePublicFolderPath | |
$_sCacheFilePrefix | |
$_bImagesInline | |
$_iImagesMaxSize | |
$_bCssCache | |
$_bCssArchive | |
$_sCssCachePrefix | |
$_bJsCache | |
$_bJsArchive | |
$_sJsCachePrefix | |
Protected Member Functions | |
getOwnerImage ($sType, $iOwnerId) | |
Additional Inherited Members | |
![]() | |
static | _callbackParseUrl ($sPath, $aMatches) |
Definition at line 10 of file ChWallTemplate.php.
ChWallTemplate::__construct | ( | & | $oConfig, |
& | $oDb | ||
) |
Constructor
Definition at line 17 of file ChWallTemplate.php.
ChWallTemplate::_getCommonData | ( | $aEvent | ) |
Definition at line 167 of file ChWallTemplate.php.
ChWallTemplate::_getCommonMedia | ( | $sType, | |
$iObject | |||
) |
Definition at line 246 of file ChWallTemplate.php.
ChWallTemplate::_getSystemData | ( | & | $aEvent, |
$sDisplayType = CH_WALL_VIEW_TIMELINE |
|||
) |
Definition at line 142 of file ChWallTemplate.php.
ChWallTemplate::displayFriendAccept | ( | $aEvent | ) |
Definition at line 576 of file ChWallTemplate.php.
ChWallTemplate::displayProfileCommentAdd | ( | $aEvent | ) |
Definition at line 486 of file ChWallTemplate.php.
ChWallTemplate::displayProfileCommentPost | ( | $aEvent | ) |
DEPRICATED, saved for backward compatibility
Definition at line 533 of file ChWallTemplate.php.
ChWallTemplate::displayProfileEdit | ( | $aEvent | ) |
Definition at line 423 of file ChWallTemplate.php.
ChWallTemplate::displayProfileEditStatusMessage | ( | $aEvent | ) |
Definition at line 452 of file ChWallTemplate.php.
ChWallTemplate::getComments | ( | $aEvent, | |
$aResult | |||
) |
Definition at line 626 of file ChWallTemplate.php.
ChWallTemplate::getCommon | ( | $aEvent | ) |
Definition at line 99 of file ChWallTemplate.php.
ChWallTemplate::getDefaultComments | ( | $iEventId | ) |
Definition at line 654 of file ChWallTemplate.php.
ChWallTemplate::getDivider | ( | & | $iDays, |
& | $aEvent | ||
) |
Definition at line 285 of file ChWallTemplate.php.
ChWallTemplate::getDividerToday | ( | $aEvent = array() | ) |
Definition at line 312 of file ChWallTemplate.php.
ChWallTemplate::getEmpty | ( | $bVisible | ) |
Definition at line 278 of file ChWallTemplate.php.
ChWallTemplate::getJsCode | ( | $sType, | |
$aParams = array() , |
|||
$aRequestParams = array() |
|||
) |
Definition at line 660 of file ChWallTemplate.php.
Definition at line 347 of file ChWallTemplate.php.
Definition at line 364 of file ChWallTemplate.php.
ChWallTemplate::getOwnerIcon | ( | $iOwnerId | ) |
Definition at line 608 of file ChWallTemplate.php.
|
protected |
Definition at line 613 of file ChWallTemplate.php.
ChWallTemplate::getOwnerThumbnail | ( | $iOwnerId | ) |
Definition at line 603 of file ChWallTemplate.php.
ChWallTemplate::getRepostCounter | ( | $aEvent, | |
$aParams = array() |
|||
) |
Definition at line 768 of file ChWallTemplate.php.
ChWallTemplate::getRepostedBy | ( | $iId | ) |
Definition at line 790 of file ChWallTemplate.php.
ChWallTemplate::getRepostElement | ( | $iOwnerId, | |
$sType, | |||
$sAction, | |||
$iObjectId, | |||
$aParams = array() |
|||
) |
Repost functions.
Definition at line 683 of file ChWallTemplate.php.
ChWallTemplate::getRepostJsClick | ( | $iOwnerId, | |
$sType, | |||
$sAction, | |||
$mixedObjectId | |||
) |
Definition at line 825 of file ChWallTemplate.php.
ChWallTemplate::getRepostJsScript | ( | ) |
Definition at line 815 of file ChWallTemplate.php.
ChWallTemplate::getSystem | ( | $aEvent, | |
$sDisplayType = CH_WALL_VIEW_TIMELINE |
|||
) |
Common public methods. Is used to display events on the Wall.
Definition at line 33 of file ChWallTemplate.php.
ChWallTemplate::getTimeline | ( | $iStart, | |
$iPerPage, | |||
$sFilter, | |||
$sTimeline, | |||
$aModules | |||
) |
Definition at line 320 of file ChWallTemplate.php.
ChWallTemplate::getUploader | ( | $iOwnerId, | |
$sType, | |||
$sSubType = '' |
|||
) |
Definition at line 382 of file ChWallTemplate.php.
ChWallTemplate::setModule | ( | & | $oModule | ) |
Definition at line 24 of file ChWallTemplate.php.
ChWallTemplate::$_oModule |
Definition at line 12 of file ChWallTemplate.php.