|
Cheetah
|
Public Member Functions | |
| __construct ($aModule) | |
| actionHome () | |
| actionCalendar ($iYear='', $iMonth='') | |
| actionDelete ($iSiteId) | |
| actionEdit ($iSiteId) | |
| actionView ($mixedVar) | |
| actionFeatured ($iSiteId) | |
| actionShare ($iSiteId) | |
| actionHon () | |
| actionSearch () | |
| actionBrowse ($sMode='', $sValue='', $sValue2='', $sValue3='') | |
| actionDeleteProfileSites ($iProfileId) | |
| actionSharePopup ($iSiteId) | |
| actionIndex () | |
| actionProfile ($sNickName) | |
| actionAdministration ($sUrl='') | |
| actionAdd () | |
| actionTags () | |
| actionCategories () | |
| serviceIndexBlock () | |
| serviceProfileBlock ($sNickName) | |
| serviceGetSubscriptionParams ($sAction, $iEntryId) | |
| serviceGetWallPost ($aEvent) | |
| serviceGetWallPostOutline ($aEvent) | |
| serviceGetWallAddComment ($aEvent) | |
| serviceGetWallPostComment ($aEvent) | |
| serviceGetSpyData () | |
| serviceGetSpyPost ($sAction, $iObjectId, $iSenderId, $aExtraParams=array()) | |
| serviceGetMemberMenuItem () | |
| serviceGetMemberMenuItemAddContent () | |
| browseMy ($aProfile, $sValue='') | |
| isAdmin () | |
| isAllowedEdit ($aSite, $isPerformAction=false) | |
| isAllowedAdd ($isPerformAction=false) | |
| isAllowedMarkAsFeatured ($aSite, $isPerformAction=false) | |
| isAllowedDelete (&$aSite, $isPerformAction=false) | |
| isAllowedShare (&$aDataEntry) | |
| isAllowedView ($aSite, $isPerformAction=false) | |
| isAllowedBrowse ($isPerformAction=false) | |
| isAllowedSearch ($isPerformAction=false) | |
| deleteSite ($iSiteId) | |
| refreshSiteThumb ($iSiteId) | |
| clearSiteThumbCache () | |
| setStatusSite ($iSiteId, $sStatus) | |
| _defineActions () | |
| reparseTags ($iSiteId) | |
| reparseCategories ($iSiteId) | |
| onSiteCreate ($iSiteId, $sStatus) | |
| onSiteChanged ($iSiteId, $sStatus) | |
| onSiteDeleted ($iSiteId) | |
| onSiteMarkAsFeatured ($aSite) | |
| _actionAdministrationManage ($isAdminEntries, $sKeyBtnDelete='', $sKeyBtnActivate='', $sUrl=false) | |
| _actionAdministrationAdd () | |
| _actionAdministrationSettings ($sSettingsCatName='Sites') | |
| _addSiteForm () | |
| _addThumbToForm ($sThumbHTML, &$aParam) | |
| _getSitesIndex () | |
| _getSitesProfile ($sNickName) | |
| _manageSites ($sMode, $sValue, $aButtons) | |
Public Member Functions inherited from ChWsbTwigModule | |
| __construct (&$aModule) | |
| _actionHome ($sTitle) | |
| _actionFiles ($sUri, $sTitle) | |
| _actionVideos ($sUri, $sTitle) | |
| _actionSounds ($sUri, $sTitle) | |
| _actionPhotos ($sUri, $sTitle) | |
| _actionComments ($sUri, $sTitle) | |
| _actionBrowseFans ($sUri, $sFuncAllowed, $sFuncDbGetFans, $iPerPage, $sUrlBrowse, $sTitle) | |
| _actionView ($sUri, $sMsgPendingApproval) | |
| _actionUploadMedia ($sUri, $sIsAllowedFuncName, $sMedia, $aMediaFields, $sTitle) | |
| _actionBroadcast ($iEntryId, $sTitle, $sMsgNoRecipients, $sMsgSent) | |
| _getInviteParams ($aDataEntry, $aInviter) | |
| _actionInvite ($iEntryId, $sEmailTemplate, $iMaxEmailInvitations, $sMsgInvitationSent, $sMsgNoUsers, $sTitle) | |
| _actionCalendar ($iYear, $iMonth, $sTitle) | |
| _actionSearch ($sKeyword, $sCategory, $sTitle) | |
| _actionAdd ($sTitle) | |
| _actionEdit ($iEntryId, $sTitle) | |
| _actionDelete ($iEntryId, $sMsgSuccess) | |
| _actionMarkFeatured ($iEntryId, $sMsgSuccessAdd, $sMsgSuccessRemove) | |
| _actionJoin ($iEntryId, $iProfileId, $sMsgAlreadyJoined, $sMsgAlreadyJoinedPending, $sMsgJoinSuccess, $sMsgJoinSuccessPending, $sMsgLeaveSuccess) | |
| actionActivate ($iEntryId) | |
| _actionManageFansPopup ($iEntryId, $sTitle, $sFuncGetFans='getFans', $sFuncIsAllowedManageFans='isAllowedManageFans', $sFuncIsAllowedManageAdmins='isAllowedManageAdmins', $iMaxFans=1000) | |
| _actionSharePopup ($iEntryId, $sTitle, $bAddTempleateExt=false) | |
| _actionTags ($sTitle, $sTitleAllTags='') | |
| _actionCategories ($sTitle) | |
| _actionDownload ($aFileInfo, $sFieldMediaId) | |
| serviceGetForumPermission ($iMemberId, $iForumId) | |
| serviceDeleteProfileData ($iProfileId) | |
| serviceResponseProfileDelete ($oAlert) | |
| serviceResponseMediaDelete ($oAlert) | |
| _serviceGetMemberMenuItem ($sTitle, $sAlt, $sIcon, $isExtraCount=true, $sLinkAppend='') | |
| _serviceGetWallPost ($aEvent, &$aParams) | |
| _serviceGetWallPostOutline ($aEvent, $sIcon, $aParams=array()) | |
| _serviceGetWallAddComment ($aEvent, $aParams) | |
| _serviceGetWallPostComment ($aEvent, $aParams) | |
| serviceGetWallData () | |
| _serviceGetSpyPost ($sAction, $iObjectId, $iSenderId, $aExtraParams, $aLangKeys) | |
| serviceGetShoutboxData () | |
| serviceIsFan ($iEntryId, $iProfileId=0) | |
| serviceIsEntryAdmin ($iEntryId, $iProfileId=0) | |
| _serviceIsSomebody ($sFunc, $iEntryId, $iProfileId=0) | |
| _serviceGetSubscriptionParams ($sAction, $iEntryId, $aAction2Name) | |
| actionAdministrationCreateEntry () | |
| onEventCreate ($iEntryId, $sStatus, $aDataEntry=array()) | |
| onEventChanged ($iEntryId, $sStatus) | |
| onEventDeleted ($iEntryId, $aDataEntry=array()) | |
| onEventMarkAsFeatured ($iEntryId, $aDataEntry) | |
| onEventJoin ($iEntryId, $iProfileId, $aDataEntry) | |
| _onEventJoinRequest ($iEntryId, $iProfileId, $aDataEntry, $sEmailTemplate, $iMaxFans=1000) | |
| _onEventJoinReject ($iEntryId, $iProfileId, $aDataEntry, $sEmailTemplate) | |
| _onEventFanRemove ($iEntryId, $iProfileId, $aDataEntry, $sEmailTemplate) | |
| _onEventFanBecomeAdmin ($iEntryId, $iProfileId, $aDataEntry, $sEmailTemplate) | |
| _onEventAdminBecomeFan ($iEntryId, $iProfileId, $aDataEntry, $sEmailTemplate) | |
| _onEventJoinConfirm ($iEntryId, $iProfileId, $aDataEntry, $sEmailTemplate) | |
| _addForm ($sRedirectUrl) | |
| _manageEntries ($sMode, $sValue, $isFilter, $sFormName, $aButtons, $sAjaxPaginationBlockId='', $isMsgBoxIfEmpty=true, $iPerPage=0, $sUrlAdmin=false) | |
| _preProductTabs ($sUri, $sSubTab='') | |
| _processFansActions ($aDataEntry, $iMaxFans=1000) | |
| _getCleanIdsArray ($sIds, $sDivider=',') | |
| _profilesEdit (&$aProfiles, $isCenterContent=false, $aDataEntry=array()) | |
| _notifyEmail ($sEmailTemplateName, $iRecipient, $aDataEntry) | |
| _browseMy (&$aProfile, $sTitle=null) | |
| isMembershipEnabledForImages () | |
| isMembershipEnabledForVideos () | |
| isMembershipEnabledForSounds () | |
| isMembershipEnabledForFiles () | |
| _isMembershipEnabledFor ($sMembershipActionConstant) | |
| _formatSnippetText ($aEntryData, $iMaxLen=300) | |
| _formatSnippetTextForOutline ($aEntryData) | |
Public Member Functions inherited from ChWsbModule | |
| isLogged () | |
| getUserId () | |
| getUserPassword () | |
| getTitleKey ($sUri) | |
| serviceGetBaseUrl () | |
Public Attributes | |
| $_sPrefix = 'ch_sites' | |
| $oPrivacy | |
| $iOwnerId | |
| $sHomeUrl | |
| $sHomePath | |
| $sModuleUrl | |
| $sThumbPath | |
| $sThumbUrl | |
Public Attributes inherited from ChWsbTwigModule | |
| $_iProfileId | |
| $_sPrefix | |
| $_sFilterName | |
Public Attributes inherited from ChWsbModule | |
| $_aModule | |
| $_oDb | |
| $_oTemplate | |
| $_oConfig | |
Additional Inherited Members | |
Static Public Member Functions inherited from ChWsbModule | |
| static | getInstance ($sClassName) |
| static | getTitle ($sUri) |
Sites module
This module allow users to post description sites, users can rate, comment, discuss it.
Profile's Wall: 'add site' site are displayed in profile's wall
Spy: 'add site' site is displayed in spy
Memberships/ACL: sites view - CH_SITES_VIEW sites browse - CH_SITES_BROWSE sites edit any site - CH_SITES_EDIT_ANY_SITE sites delete any site - CH_SITES_DELETE_ANY_SITE sites mark as featured - CH_SITES_MARK_AS_FEATURED
Alerts: Alerts type/unit - 'ch_sites' The following alerts are rised
add - new site was added $iObjectId - site id $iSenderId - creator of an site $aExtras['Status'] - status of added site
change - site's info was changed $iObjectId - site id $iSenderId - editor user id $aExtras['Status'] - status of changed site
delete - site was deleted $iObjectId - site id $iSenderId - deleter user id
mark_as_featured - site was marked/unmarked as featured $iObjectId - site id $iSenderId - performer id $aExtras['Featured'] - 1 - if site was marked as featured and 0 - if site was removed from featured
Using service for get thumbnail sites
Definition at line 90 of file ChSitesModule.php.
| ChSitesModule::__construct | ( | $aModule | ) |
| ChSitesModule::_actionAdministrationAdd | ( | ) |
Definition at line 1223 of file ChSitesModule.php.
| ChSitesModule::_actionAdministrationManage | ( | $isAdminEntries, | |
$sKeyBtnDelete = '', |
|||
$sKeyBtnActivate = '', |
|||
$sUrl = false |
|||
| ) |
Reimplemented from ChWsbTwigModule.
Definition at line 1194 of file ChSitesModule.php.
| ChSitesModule::_actionAdministrationSettings | ( | $sSettingsCatName = 'Sites' | ) |
Reimplemented from ChWsbTwigModule.
Definition at line 1228 of file ChSitesModule.php.
| ChSitesModule::_addSiteForm | ( | ) |
Definition at line 1290 of file ChSitesModule.php.
| ChSitesModule::_addThumbToForm | ( | $sThumbHTML, | |
| & | $aParam | ||
| ) |
Definition at line 1400 of file ChSitesModule.php.
| ChSitesModule::_defineActions | ( | ) |
Definition at line 1108 of file ChSitesModule.php.
| ChSitesModule::_getSitesIndex | ( | ) |
Definition at line 1408 of file ChSitesModule.php.
| ChSitesModule::_getSitesProfile | ( | $sNickName | ) |
Definition at line 1417 of file ChSitesModule.php.
| ChSitesModule::_manageSites | ( | $sMode, | |
| $sValue, | |||
| $aButtons | |||
| ) |
Definition at line 1426 of file ChSitesModule.php.
| ChSitesModule::actionAdd | ( | ) |
Definition at line 467 of file ChSitesModule.php.
| ChSitesModule::actionAdministration | ( | $sUrl = '' | ) |
Definition at line 425 of file ChSitesModule.php.
| ChSitesModule::actionBrowse | ( | $sMode = '', |
|
$sValue = '', |
|||
$sValue2 = '', |
|||
$sValue3 = '' |
|||
| ) |
Reimplemented from ChWsbTwigModule.
Definition at line 350 of file ChSitesModule.php.
| ChSitesModule::actionCalendar | ( | $iYear = '', |
|
$iMonth = '' |
|||
| ) |
Definition at line 139 of file ChSitesModule.php.
| ChSitesModule::actionCategories | ( | ) |
Definition at line 493 of file ChSitesModule.php.
| ChSitesModule::actionDelete | ( | $iSiteId | ) |
Definition at line 148 of file ChSitesModule.php.
| ChSitesModule::actionDeleteProfileSites | ( | $iProfileId | ) |
Definition at line 398 of file ChSitesModule.php.
| ChSitesModule::actionEdit | ( | $iSiteId | ) |
Definition at line 173 of file ChSitesModule.php.
| ChSitesModule::actionFeatured | ( | $iSiteId | ) |
Definition at line 268 of file ChSitesModule.php.
| ChSitesModule::actionHome | ( | ) |
Definition at line 129 of file ChSitesModule.php.
| ChSitesModule::actionHon | ( | ) |
Definition at line 299 of file ChSitesModule.php.
| ChSitesModule::actionIndex | ( | ) |
Definition at line 415 of file ChSitesModule.php.
| ChSitesModule::actionProfile | ( | $sNickName | ) |
Definition at line 420 of file ChSitesModule.php.
| ChSitesModule::actionSearch | ( | ) |
Definition at line 309 of file ChSitesModule.php.
| ChSitesModule::actionShare | ( | $iSiteId | ) |
Definition at line 295 of file ChSitesModule.php.
| ChSitesModule::actionSharePopup | ( | $iSiteId | ) |
Definition at line 410 of file ChSitesModule.php.
| ChSitesModule::actionTags | ( | ) |
Definition at line 480 of file ChSitesModule.php.
| ChSitesModule::actionView | ( | $mixedVar | ) |
Definition at line 222 of file ChSitesModule.php.
| ChSitesModule::browseMy | ( | $aProfile, | |
$sValue = '' |
|||
| ) |
Definition at line 946 of file ChSitesModule.php.
| ChSitesModule::clearSiteThumbCache | ( | ) |
Definition at line 1087 of file ChSitesModule.php.
| ChSitesModule::deleteSite | ( | $iSiteId | ) |
Definition at line 1044 of file ChSitesModule.php.
| ChSitesModule::isAdmin | ( | ) |
Reimplemented from ChWsbTwigModule.
Definition at line 960 of file ChSitesModule.php.
| ChSitesModule::isAllowedAdd | ( | $isPerformAction = false | ) |
Definition at line 974 of file ChSitesModule.php.
| ChSitesModule::isAllowedBrowse | ( | $isPerformAction = false | ) |
Definition at line 1027 of file ChSitesModule.php.
| ChSitesModule::isAllowedDelete | ( | & | $aSite, |
$isPerformAction = false |
|||
| ) |
Definition at line 994 of file ChSitesModule.php.
| ChSitesModule::isAllowedEdit | ( | $aSite, | |
$isPerformAction = false |
|||
| ) |
Definition at line 965 of file ChSitesModule.php.
| ChSitesModule::isAllowedMarkAsFeatured | ( | $aSite, | |
$isPerformAction = false |
|||
| ) |
Definition at line 985 of file ChSitesModule.php.
| ChSitesModule::isAllowedSearch | ( | $isPerformAction = false | ) |
Definition at line 1035 of file ChSitesModule.php.
| ChSitesModule::isAllowedShare | ( | & | $aDataEntry | ) |
Definition at line 1003 of file ChSitesModule.php.
| ChSitesModule::isAllowedView | ( | $aSite, | |
$isPerformAction = false |
|||
| ) |
Definition at line 1011 of file ChSitesModule.php.
| ChSitesModule::onSiteChanged | ( | $iSiteId, | |
| $sStatus | |||
| ) |
Definition at line 1143 of file ChSitesModule.php.
| ChSitesModule::onSiteCreate | ( | $iSiteId, | |
| $sStatus | |||
| ) |
Definition at line 1131 of file ChSitesModule.php.
| ChSitesModule::onSiteDeleted | ( | $iSiteId | ) |
Definition at line 1153 of file ChSitesModule.php.
| ChSitesModule::onSiteMarkAsFeatured | ( | $aSite | ) |
Definition at line 1184 of file ChSitesModule.php.
| ChSitesModule::refreshSiteThumb | ( | $iSiteId | ) |
Definition at line 1068 of file ChSitesModule.php.
| ChSitesModule::reparseCategories | ( | $iSiteId | ) |
Reimplemented from ChWsbTwigModule.
Definition at line 1122 of file ChSitesModule.php.
| ChSitesModule::reparseTags | ( | $iSiteId | ) |
Reimplemented from ChWsbTwigModule.
Definition at line 1115 of file ChSitesModule.php.
| ChSitesModule::serviceGetMemberMenuItem | ( | ) |
Definition at line 934 of file ChSitesModule.php.
| ChSitesModule::serviceGetMemberMenuItemAddContent | ( | ) |
Definition at line 939 of file ChSitesModule.php.
| ChSitesModule::serviceGetSpyData | ( | ) |
Reimplemented from ChWsbTwigModule.
Definition at line 885 of file ChSitesModule.php.
| ChSitesModule::serviceGetSpyPost | ( | $sAction, | |
| $iObjectId, | |||
| $iSenderId, | |||
$aExtraParams = array() |
|||
| ) |
Definition at line 905 of file ChSitesModule.php.
| ChSitesModule::serviceGetSubscriptionParams | ( | $sAction, | |
| $iEntryId | |||
| ) |
Definition at line 518 of file ChSitesModule.php.
| ChSitesModule::serviceGetWallAddComment | ( | $aEvent | ) |
Definition at line 762 of file ChSitesModule.php.
| ChSitesModule::serviceGetWallPost | ( | $aEvent | ) |
Definition at line 539 of file ChSitesModule.php.
| ChSitesModule::serviceGetWallPostComment | ( | $aEvent | ) |
DEPRICATED, saved for backward compatibility
Definition at line 826 of file ChSitesModule.php.
| ChSitesModule::serviceGetWallPostOutline | ( | $aEvent | ) |
Definition at line 641 of file ChSitesModule.php.
| ChSitesModule::serviceIndexBlock | ( | ) |
Service methods
Definition at line 508 of file ChSitesModule.php.
| ChSitesModule::serviceProfileBlock | ( | $sNickName | ) |
Definition at line 513 of file ChSitesModule.php.
| ChSitesModule::setStatusSite | ( | $iSiteId, | |
| $sStatus | |||
| ) |
Definition at line 1102 of file ChSitesModule.php.
| ChSitesModule::$_sPrefix = 'ch_sites' |
Definition at line 92 of file ChSitesModule.php.
| ChSitesModule::$iOwnerId |
Definition at line 94 of file ChSitesModule.php.
| ChSitesModule::$oPrivacy |
Definition at line 93 of file ChSitesModule.php.
| ChSitesModule::$sHomePath |
Definition at line 99 of file ChSitesModule.php.
| ChSitesModule::$sHomeUrl |
Definition at line 98 of file ChSitesModule.php.
| ChSitesModule::$sModuleUrl |
Definition at line 100 of file ChSitesModule.php.
| ChSitesModule::$sThumbPath |
Definition at line 102 of file ChSitesModule.php.
| ChSitesModule::$sThumbUrl |
Definition at line 103 of file ChSitesModule.php.