Cheetah
|
Public Member Functions | |
__construct ($aModule) | |
serviceNewsRss ($iLength=0, $sType='archive') | |
actionGetNews ($sSampleType='all', $iStart=0, $iPerPage=0) | |
_createObjectCalendar ($iYear, $iMonth) | |
_createObjectCmts ($iId) | |
_createObjectVoting ($iId) | |
_isDeleteAllowed ($bPerform=false) | |
![]() | |
getBlockView ($sUri) | |
getBlockComment ($sUri) | |
getBlockVote ($sUri) | |
getBlockInfo ($sUri) | |
getBlockAction ($sUri) | |
getBlockSocialSharing ($sUri) | |
getCalendar ($iYear=0, $iMonth=0) | |
getSearchResult () | |
getSearchContent ($aRestrictions, $sUri, $iPage=1, $iPerPage=0) | |
getCategoryContent ($sCategory, $iPage=1, $iPerPage=0) | |
getTagContent ($sTag='', $iPage=1, $iPerPage=0) | |
getCalendarContent ($iYear, $iMonth, $iDay, $iPage, $iPerPage) | |
getSettingsForm ($mixedResult) | |
setSettings ($aData) | |
servicePostBlock () | |
serviceEditBlock ($mixed) | |
serviceAdminBlock ($iStart=0, $iPerPage=0, $sFilterValue='') | |
serviceArchiveBlockIndex ($iStart=0, $iPerPage=0, $bShowEmpty=true) | |
serviceArchiveBlockMember ($iStart=0, $iPerPage=0, $bShowEmpty=true) | |
serviceArchiveBlock ($iStart=0, $iPerPage=0, $bShowEmpty=true) | |
serviceFeaturedBlockIndex ($iStart=0, $iPerPage=0, $bShowEmpty=true) | |
serviceFeaturedBlockMember ($iStart=0, $iPerPage=0, $bShowEmpty=true) | |
serviceFeaturedBlock ($iStart=0, $iPerPage=0, $bShowEmpty=true) | |
serviceTopRatedBlock ($iStart=0, $iPerPage=0) | |
serviceCategoriesBlock ($iBlockId) | |
serviceTagsBlock ($iBlockId) | |
serviceGetCalendarBlock ($iBlockID, $aParams=array()) | |
servicePopularBlock ($iStart=0, $iPerPage=0) | |
serviceGetSubscriptionParams ($sUnit, $sAction, $iObjectId) | |
actionRss ($iLength=0, $sType='archive') | |
actionGetEntries ($sSampleType='all', $iStart=0, $iPerPage=0) | |
actionMarkFeatured () | |
actionPublish () | |
actionDelete () | |
actionSharePopup ($iEntry) | |
actionArchive ($iStart=0, $iPerPage=0) | |
actionPopular () | |
actionTop () | |
actionCalendar ($iYear=0, $iMonth=0, $iDay=0, $iStart=1, $iPerPage=0) | |
actionCategories () | |
actionCategory ($sCategory='', $iPage=1, $iPerPage=0) | |
actionTags () | |
actionTag ($sTag='', $iPage=1, $iPerPage=0) | |
actionFeatured () | |
actionHome () | |
actionIndex () | |
actionView ($sName) | |
actionAdmin ($sName='') | |
actionMobileLatestEntries ($iPage=1) | |
actionMobileEntry ($iId) | |
_actFeatured ($aIds, $bPositive=true) | |
_actPublish ($aIds, $bPositive=true) | |
_actDelete ($aIds) | |
_isCommentsAllowed (&$aEntry) | |
_isVotesAllowed (&$aEntry) | |
_isShareAllowed (&$aEntry) | |
![]() | |
isLogged () | |
getUserId () | |
getUserPassword () | |
getTitleKey ($sUri) | |
serviceGetBaseUrl () | |
Additional Inherited Members | |
![]() | |
static | getInstance ($sClassName) |
static | getTitle ($sUri) |
![]() | |
$_oTextData | |
$_oPrivacy | |
![]() | |
$_aModule | |
$_oDb | |
$_oTemplate | |
$_oConfig | |
News module by Cheetah
This module is needed to manage site news.
Profile's Wall: no spy events
Spy: no spy events
Memberships/ACL: Doesn't depend on user's membership.
Service methods:
Get post block.
Get edit block.
Get administration block.
Get block with all news ordered by the time of posting.
Get block with news marked as featured.
Get block with news ordered by their rating.
Get block with all news ordered by their popularity(number of views).
Alerts: Alerts type/unit - 'news' The following alerts are rised
post - news is added $iObjectId - news id $iSenderId - admin's id
edit - news was modified $iObjectId - news id $iSenderId - admin's id
featured - news was marked as featured $iObjectId - news id $iSenderId - admin's id
publish - news was published $iObjectId - news id $iSenderId - admin's id
unpublish - news was unpublished $iObjectId - news id $iSenderId - admin's id
delete - news was deleted $iObjectId - news id $iSenderId - admin's id
RSS Feeds. Standard feed as provided in the boonex version m/news/act_rss/
New feeds provided by cheetah modification. 0 defaults to the news module setting for The number of items shown in the RSS feed. or set 0 to the max number of items desired. m/news/act_rss/0/archive/ Same as the standard above, except you can specifiy item count. m/news/act_rss/0/featured/ m/news/act_rss/0/top_rated/ m/news/act_rss/0/popular/
Definition at line 116 of file ChNewsModule.php.
ChNewsModule::__construct | ( | $aModule | ) |
ChNewsModule::_createObjectCalendar | ( | $iYear, | |
$iMonth | |||
) |
Private methods.
Definition at line 148 of file ChNewsModule.php.
ChNewsModule::_createObjectCmts | ( | $iId | ) |
Definition at line 152 of file ChNewsModule.php.
ChNewsModule::_createObjectVoting | ( | $iId | ) |
Definition at line 156 of file ChNewsModule.php.
ChNewsModule::_isDeleteAllowed | ( | $bPerform = false | ) |
Definition at line 160 of file ChNewsModule.php.
ChNewsModule::actionGetNews | ( | $sSampleType = 'all' , |
|
$iStart = 0 , |
|||
$iPerPage = 0 |
|||
) |
Action methods
Definition at line 140 of file ChNewsModule.php.
ChNewsModule::serviceNewsRss | ( | $iLength = 0 , |
|
$sType = 'archive' |
|||
) |
Service methods
Definition at line 132 of file ChNewsModule.php.