Cheetah
|
Public Member Functions | |
__construct ($aModule) | |
serviceArticlesRss ($iLength=0) | |
actionGetArticles ($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 | |
Articles module by Cheetah
This module is needed to manage site articles.
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 articles ordered by the time of posting.
Get block with articles marked as featured.
Get block with articles ordered by their rating.
Get block with all articles ordered by their popularity(number of views).
Alerts: Alerts type/unit - 'articles' The following alerts are rised
post - article is added $iObjectId - article id $iSenderId - admin's id
edit - article was modified $iObjectId - article id $iSenderId - admin's id
featured - article was marked as featured $iObjectId - article id $iSenderId - admin's id
publish - article was published $iObjectId - article id $iSenderId - admin's id
unpublish - article was unpublished $iObjectId - article id $iSenderId - admin's id
delete - article was deleted $iObjectId - article id $iSenderId - admin's id
Definition at line 104 of file ChArlModule.php.
ChArlModule::__construct | ( | $aModule | ) |
ChArlModule::_createObjectCalendar | ( | $iYear, | |
$iMonth | |||
) |
Private methods.
Definition at line 136 of file ChArlModule.php.
ChArlModule::_createObjectCmts | ( | $iId | ) |
Definition at line 140 of file ChArlModule.php.
ChArlModule::_createObjectVoting | ( | $iId | ) |
Definition at line 144 of file ChArlModule.php.
ChArlModule::_isDeleteAllowed | ( | $bPerform = false | ) |
Definition at line 148 of file ChArlModule.php.
ChArlModule::actionGetArticles | ( | $sSampleType = 'all' , |
|
$iStart = 0 , |
|||
$iPerPage = 0 |
|||
) |
Action methods
Definition at line 128 of file ChArlModule.php.
ChArlModule::serviceArticlesRss | ( | $iLength = 0 | ) |
Service methods
Definition at line 120 of file ChArlModule.php.