Cheetah
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ChBaseVotingView Class Reference
Inheritance diagram for ChBaseVotingView:
ChWsbVoting ChTemplVotingView ChEventsVoting ChGroupsVoting ChSitesVoting ChStoreVoting ChWallVoting ChWsbTextVoting ChArlVoting ChFdbVoting ChNewsVoting

Public Member Functions

 __construct ( $sSystem, $iId, $iInit=1)
 
 getSmallVoting ($iCanRate=1, $iRateOverride=false)
 
 getBigVoting ($iCanRate=1, $iRateOverride=false)
 
 getJustVotingElement ($iCanRate=1, $iObjectId=0, $iRateOverride=false)
 
 getVoting ($sType, $iObjectId=0, $aParams=array())
 
 getExtraJs ()
 
- Public Member Functions inherited from ChWsbVoting
 init ($iId)
 
 initVotes ()
 
 makeVote ($iVote)
 
 checkAction ($bPerformAction=false)
 
 isDublicateVote ()
 
 getId ()
 
 isEnabled ()
 
 getMaxVote ()
 
 getVoteCount ()
 
 getVoteRate ()
 
 getSystemName ()
 
 setId ($iId)
 
 getSqlParts ($sMailTable, $sMailField)
 
 isValidSystem ($sSystem)
 
 deleteVotings ($iId)
 
 getTopVotedItem ($iDays, $sJoinTable='', $sJoinField='', $sWhere='')
 
 getVotedItems ($sIp)
 
 maintenance ()
 
 actionVote ()
 

Public Attributes

 $_iSizeStarBigX = 18
 
 $_iSizeStarBigY = 18
 
 $_iSizeStarSmallX = 12
 
 $_iSizeStarSmallY = 12
 
- Public Attributes inherited from ChWsbVoting
 $_iId = 0
 
 $_iCount = 0
 
 $_fRate = 0
 
 $_sSystem = 'profile'
 
 $_aSystem = array ()
 
 $_oQuery = null
 

Protected Member Functions

 _getSizeByType ($sType)
 
- Protected Member Functions inherited from ChWsbVoting
 _getVoteResult ()
 
 _triggerVote ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbVoting
static getObjectInstance ($sSys, $iId, $iInit=true)
 
static & getSystems ()
 

Detailed Description

See also
ChWsbVoting

Definition at line 13 of file ChBaseVotingView.php.

Constructor & Destructor Documentation

◆ __construct()

ChBaseVotingView::__construct (   $sSystem,
  $iId,
  $iInit = 1 
)

Constructor

Reimplemented from ChWsbVoting.

Reimplemented in ChWallVoting, ChNewsVoting, ChFdbVoting, ChArlVoting, ChWsbTextVoting, ChTemplVotingView, ChTemplVotingView, and ChTemplVotingView.

Definition at line 20 of file ChBaseVotingView.php.

Member Function Documentation

◆ _getSizeByType()

ChBaseVotingView::_getSizeByType (   $sType)
protected

Definition at line 125 of file ChBaseVotingView.php.

◆ getBigVoting()

ChBaseVotingView::getBigVoting (   $iCanRate = 1,
  $iRateOverride = false 
)

Definition at line 37 of file ChBaseVotingView.php.

◆ getExtraJs()

ChBaseVotingView::getExtraJs ( )

Definition at line 120 of file ChBaseVotingView.php.

◆ getJustVotingElement()

ChBaseVotingView::getJustVotingElement (   $iCanRate = 1,
  $iObjectId = 0,
  $iRateOverride = false 
)

Definition at line 49 of file ChBaseVotingView.php.

◆ getSmallVoting()

ChBaseVotingView::getSmallVoting (   $iCanRate = 1,
  $iRateOverride = false 
)

Definition at line 25 of file ChBaseVotingView.php.

◆ getVoting()

ChBaseVotingView::getVoting (   $sType,
  $iObjectId = 0,
  $aParams = array() 
)

Definition at line 58 of file ChBaseVotingView.php.

Member Data Documentation

◆ $_iSizeStarBigX

ChBaseVotingView::$_iSizeStarBigX = 18

Definition at line 15 of file ChBaseVotingView.php.

◆ $_iSizeStarBigY

ChBaseVotingView::$_iSizeStarBigY = 18

Definition at line 16 of file ChBaseVotingView.php.

◆ $_iSizeStarSmallX

ChBaseVotingView::$_iSizeStarSmallX = 12

Definition at line 17 of file ChBaseVotingView.php.

◆ $_iSizeStarSmallY

ChBaseVotingView::$_iSizeStarSmallY = 12

Definition at line 18 of file ChBaseVotingView.php.


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