PHP Class Polls, rartracker

Inheritance: extends CI_Controller
Afficher le fichier Open project: swetorrentking/rartracker Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $db, $user, $forum = null )
create ( $postdata )
delete ( $id )
getLatest ( )
query ( $limit = 25, $index )
update ( $id, $postdata )
vote ( $pollId, $choise )

Private Methods

Méthode Description
generatePoll ( $poll )

Method Details

__construct() public méthode

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

create() public méthode

public create ( $postdata )

delete() public méthode

public delete ( $id )

getLatest() public méthode

public getLatest ( )

query() public méthode

public query ( $limit = 25, $index )

update() public méthode

public update ( $id, $postdata )

vote() public méthode

public vote ( $pollId, $choise )