Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | Public Attributes | List of all members
ChWsbVotingQuery Class Reference
Inheritance diagram for ChWsbVotingQuery:
ChWsbDb

Public Member Functions

 __construct (&$aSystem)
 
 getVote ($iId)
 
 putVote ($iId, $sIp, $iRate)
 
 isDublicateVote ($iId, $sIp)
 
 getSqlParts ($sMailTable, $sMailField)
 
 deleteVotings ($iId)
 
 getTopVotedItem ($iDays, $sJoinTable='', $sJoinField='', $sWhere='')
 
 getVotedItems ($sIp)
 
 updateTriggerTable ($iId, $fRate, $iCount)
 
- Public Member Functions inherited from ChWsbDb
 setTimezone ($sTimezone)
 
 getLink ()
 
 res ($sQuery, $aBindings=[], $bReplaying=false)
 
 getAll ($sQuery, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getColumn ($sQuery, $aBindings=[])
 
 getOne ($sQuery, $aBindings=[], $iIndex=0)
 
 getFirstRow ($sQuery, $aBindings=[], $iFetchStyle=PDO::FETCH_ASSOC)
 
 getNextRow ()
 
 getAllWithKey ($sQuery, $sFieldKey, $aBindings=[], $iFetchType=PDO::FETCH_ASSOC)
 
 getPairs ($sQuery, $sFieldKey, $sFieldValue, $aBindings=[])
 
 query ($sQuery, $aBindings=[])
 
 getNumRows ($oStmt=null)
 
 getAffectedRows ($oStmt=null)
 
 fillArray ($oStmt, $iFetchType=PDO::FETCH_ASSOC)
 
 lastId ()
 
 getParam ($sName, $bCache=true)
 
 setParam ($sName, $sValue)
 
 listTables ()
 
 getFields ($sTable)
 
 isFieldExists ($sTable, $sFieldName)
 
 fetchField ($mixedQuery, $iField, $aBindings=[])
 
 getDbCacheObject ()
 
 genDbCacheKey ($sName)
 
 fromCache ($sName, $sFunc)
 
 cleanCache ($sName)
 
fromMemory ($sName, $sFunc)
 
 cleanMemory ($sName)
 
 arrayToSQL ($a, $sDiv=',')
 
 escape ($sText, $bReal=true)
 
 implode_escape ($mixed)
 
 unescape ($mixed)
 

Public Attributes

 $_aSystem
 
- Public Attributes inherited from ChWsbDb
 $port
 
 $socket
 
 $dbname
 
 $user
 
 $password
 
 $oParams = null
 
 $oDbCacheObject = null
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbDb
static getInstance ()
 
- Protected Member Functions inherited from ChWsbDb
 __construct ()
 
 connect ()
 
 disconnect ()
 
- Protected Attributes inherited from ChWsbDb
 $host
 
 $link
 
 $oCurrentStmt
 
 $iCurrentFetchStyle
 
- Static Protected Attributes inherited from ChWsbDb
static $instance
 

Detailed Description

This work, "Cheetah - https://www.cheetahwsb.com", is a derivative of "Dolphin Pro V7.4.2" by BoonEx Pty Limited - https://www.boonex.com/, used under CC-BY. "Cheetah" is licensed under CC-BY by Dean J. Bassett Jr. CC-BY License - http://creativecommons.org/licenses/by/3.0/

See also
ChWsbVoting

Definition at line 13 of file ChWsbVotingQuery.php.

Constructor & Destructor Documentation

◆ __construct()

ChWsbVotingQuery::__construct ( $aSystem)

Definition at line 17 of file ChWsbVotingQuery.php.

Member Function Documentation

◆ deleteVotings()

ChWsbVotingQuery::deleteVotings (   $iId)

Definition at line 77 of file ChWsbVotingQuery.php.

◆ getSqlParts()

ChWsbVotingQuery::getSqlParts (   $sMailTable,
  $sMailField 
)

Definition at line 59 of file ChWsbVotingQuery.php.

◆ getTopVotedItem()

ChWsbVotingQuery::getTopVotedItem (   $iDays,
  $sJoinTable = '',
  $sJoinField = '',
  $sWhere = '' 
)

Definition at line 88 of file ChWsbVotingQuery.php.

◆ getVote()

ChWsbVotingQuery::getVote (   $iId)

Definition at line 23 of file ChWsbVotingQuery.php.

◆ getVotedItems()

ChWsbVotingQuery::getVotedItems (   $sIp)

Definition at line 98 of file ChWsbVotingQuery.php.

◆ isDublicateVote()

ChWsbVotingQuery::isDublicateVote (   $iId,
  $sIp 
)

Definition at line 49 of file ChWsbVotingQuery.php.

◆ putVote()

ChWsbVotingQuery::putVote (   $iId,
  $sIp,
  $iRate 
)

Definition at line 31 of file ChWsbVotingQuery.php.

◆ updateTriggerTable()

ChWsbVotingQuery::updateTriggerTable (   $iId,
  $fRate,
  $iCount 
)

Definition at line 106 of file ChWsbVotingQuery.php.

Member Data Documentation

◆ $_aSystem

ChWsbVotingQuery::$_aSystem

Definition at line 15 of file ChWsbVotingQuery.php.


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