Cheetah
Public Member Functions | List of all members
ChArlModule Class Reference
Inheritance diagram for ChArlModule:
ChWsbTextModule ChWsbModule

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)
 
- Public Member Functions inherited from ChWsbTextModule
 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)
 
- Public Member Functions inherited from ChWsbModule
 isLogged ()
 
 getUserId ()
 
 getUserPassword ()
 
 getTitleKey ($sUri)
 
 serviceGetBaseUrl ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbModule
static getInstance ($sClassName)
 
static getTitle ($sUri)
 
- Public Attributes inherited from ChWsbTextModule
 $_oTextData
 
 $_oPrivacy
 
- Public Attributes inherited from ChWsbModule
 $_aModule
 
 $_oDb
 
 $_oTemplate
 
 $_oConfig
 

Detailed Description

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.

See also
ChArlModule::servicePostBlock ChWsbService::call('articles', 'post_block');
Note
is needed for internal usage.

Get edit block.

See also
ChArlModule::serviceEditBlock ChWsbService::call('articles', 'edit_block', array($mixed));
Note
is needed for internal usage.

Get administration block.

See also
ChArlModule::serviceAdminBlock ChWsbService::call('articles', 'admin_block', array($iStart, $iPerPage, $sFilterValue));
Note
is needed for internal usage.

Get block with all articles ordered by the time of posting.

See also
ChArlModule::serviceArchiveBlock ChWsbService::call('articles', 'archive_block', array($iStart, $iPerPage));
Note
is needed for internal usage.

Get block with articles marked as featured.

See also
ChArlModule::serviceFeaturedBlock ChWsbService::call('articles', 'featured_block', array($iStart, $iPerPage));
Note
is needed for internal usage.

Get block with articles ordered by their rating.

See also
ChArlModule::serviceTopRatedBlock ChWsbService::call('articles', 'top_rated_block', array($iStart, $iPerPage));
Note
is needed for internal usage.

Get block with all articles ordered by their popularity(number of views).

See also
ChArlModule::servicePopularBlock ChWsbService::call('articles', 'popular_block', array($iStart, $iPerPage));
Note
is needed for internal usage.

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.

Constructor & Destructor Documentation

◆ __construct()

ChArlModule::__construct (   $aModule)

Constructor

Reimplemented from ChWsbTextModule.

Definition at line 109 of file ChArlModule.php.

Member Function Documentation

◆ _createObjectCalendar()

ChArlModule::_createObjectCalendar (   $iYear,
  $iMonth 
)

Private methods.

Definition at line 136 of file ChArlModule.php.

◆ _createObjectCmts()

ChArlModule::_createObjectCmts (   $iId)

Definition at line 140 of file ChArlModule.php.

◆ _createObjectVoting()

ChArlModule::_createObjectVoting (   $iId)

Definition at line 144 of file ChArlModule.php.

◆ _isDeleteAllowed()

ChArlModule::_isDeleteAllowed (   $bPerform = false)

Definition at line 148 of file ChArlModule.php.

◆ actionGetArticles()

ChArlModule::actionGetArticles (   $sSampleType = 'all',
  $iStart = 0,
  $iPerPage = 0 
)

Action methods

Definition at line 128 of file ChArlModule.php.

◆ serviceArticlesRss()

ChArlModule::serviceArticlesRss (   $iLength = 0)

Service methods

Definition at line 120 of file ChArlModule.php.


The documentation for this class was generated from the following file: