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

Public Member Functions

 __construct ($aModule)
 
 serviceFeedbackRss ($iLength=0)
 
 serviceMyBlock ($iStart=0, $iPerPage=0)
 
 actionGetFeedback ($sSampleType='all', $iStart=0, $iPerPage=0)
 
 actionIndex ()
 
 actionPost ($sName='')
 
 actionAdmin ($sName='')
 
 _createObjectCmts ($iId)
 
 _createObjectVoting ($iId)
 
 _isDeleteAllowed ($iAuthorId=0, $bPerform=false)
 
 _isAllowedPost ()
 
 _isCommentsAllowed (&$aEntry)
 
 _isVotesAllowed (&$aEntry)
 
- 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 ()
 
 actionView ($sName)
 
 actionMobileLatestEntries ($iPage=1)
 
 actionMobileEntry ($iId)
 
 _actFeatured ($aIds, $bPositive=true)
 
 _actPublish ($aIds, $bPositive=true)
 
 _actDelete ($aIds)
 
 _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

Feedback module by Cheetah

This module is needed to manage user's feedback on the site.

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
ChFdbModule::servicePostBlock ChWsbService::call('feedback', 'post_block');
Note
is needed for internal usage.

Get edit block.

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

Get administration block.

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

Get block with all feedback from current user.

See also
ChFdbModule::serviceMyBlock ChWsbService::call('feedback', 'my_block', array($iStart, $iPerPage));
Note
is needed for internal usage.

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

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

Alerts: Alerts type/unit - 'feedback' The following alerts are rised

post - new feedback is added $iObjectId - feedback id $iSenderId - feedback's owner

edit - feedback was modified $iObjectId - feedback id $iSenderId - feedback's owner

approve - feedback was approved $iObjectId - feedback id $iSenderId - admin's id

reject - feedback was rejected $iObjectId - feedback id $iSenderId - admin's id

delete - feedback was deleted $iObjectId - feedback id $iSenderId - admin's id

Definition at line 90 of file ChFdbModule.php.

Constructor & Destructor Documentation

◆ __construct()

ChFdbModule::__construct (   $aModule)

Constructor

Reimplemented from ChWsbTextModule.

Definition at line 95 of file ChFdbModule.php.

Member Function Documentation

◆ _createObjectCmts()

ChFdbModule::_createObjectCmts (   $iId)

Private methods.

Definition at line 240 of file ChFdbModule.php.

◆ _createObjectVoting()

ChFdbModule::_createObjectVoting (   $iId)

Definition at line 244 of file ChFdbModule.php.

◆ _isAllowedPost()

ChFdbModule::_isAllowedPost ( )

Definition at line 264 of file ChFdbModule.php.

◆ _isCommentsAllowed()

ChFdbModule::_isCommentsAllowed ( $aEntry)

Reimplemented from ChWsbTextModule.

Definition at line 269 of file ChFdbModule.php.

◆ _isDeleteAllowed()

ChFdbModule::_isDeleteAllowed (   $iAuthorId = 0,
  $bPerform = false 
)

Definition at line 248 of file ChFdbModule.php.

◆ _isVotesAllowed()

ChFdbModule::_isVotesAllowed ( $aEntry)

Reimplemented from ChWsbTextModule.

Definition at line 273 of file ChFdbModule.php.

◆ actionAdmin()

ChFdbModule::actionAdmin (   $sName = '')

Reimplemented from ChWsbTextModule.

Definition at line 193 of file ChFdbModule.php.

◆ actionGetFeedback()

ChFdbModule::actionGetFeedback (   $sSampleType = 'all',
  $iStart = 0,
  $iPerPage = 0 
)

Action methods

Definition at line 131 of file ChFdbModule.php.

◆ actionIndex()

ChFdbModule::actionIndex ( )

Reimplemented from ChWsbTextModule.

Definition at line 136 of file ChFdbModule.php.

◆ actionPost()

ChFdbModule::actionPost (   $sName = '')

Definition at line 163 of file ChFdbModule.php.

◆ serviceFeedbackRss()

ChFdbModule::serviceFeedbackRss (   $iLength = 0)

Service methods

Definition at line 106 of file ChFdbModule.php.

◆ serviceMyBlock()

ChFdbModule::serviceMyBlock (   $iStart = 0,
  $iPerPage = 0 
)

Definition at line 111 of file ChFdbModule.php.


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