PHP Class Polls, rartracker

Inheritance: extends CI_Controller
Mostrar archivo Open project: swetorrentking/rartracker Class Usage Examples

Public Methods

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

Private Methods

Method Description
generatePoll ( $poll )

Method Details

__construct() public method

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

create() public method

public create ( $postdata )

delete() public method

public delete ( $id )

getLatest() public method

public getLatest ( )

query() public method

public query ( $limit = 25, $index )

update() public method

public update ( $id, $postdata )

vote() public method

public vote ( $pollId, $choise )