PHP Class Suggestions, rartracker

------------------------------------------------------- CLASSNAME: Suggestions GENERATION DATE: 21.09.2010 CLASS FILE: /home/maintenance/iphoneAdmin/emallAdmin/lib/classes/phpClass/generated_classes/Suggestions.Class.php5 FOR MYSQL TABLE: suggestions FOR MYSQL DB: emall -------------------------------------------------------
Datei anzeigen Open project: swetorrentking/rartracker Class Usage Examples

Public Methods

Method Description
__construct ( $db = null, $user = null, $forum = null )
create ( $postData )
delete ( $id )
query ( $view, $limit )
update ( $id, $postData )
vote ( $suggestId, $direction )

Private Methods

Method Description
get ( $id )
getNumVotesBySuggestion ( $suggestId )
getUserVoteWeight ( $class, $direction )
updateSuggestionWithVoteSum ( $sum, $suggestId )

Method Details

__construct() public method

public __construct ( $db = null, $user = null, $forum = null )

create() public method

public create ( $postData )

delete() public method

public delete ( $id )

query() public method

public query ( $view, $limit )

update() public method

public update ( $id, $postData )

vote() public method

public vote ( $suggestId, $direction )