cchost
[ class tree: cchost ] [ index: cchost ] [ all elements ]

Class: CCContestAdmin

Source Location: /cclib/cc-contest-admin.inc

Class Overview


Contest Admin API


Methods



Class Details

[line 298]
Contest Admin API



[ Top ]


Class Methods


method Admin [line 335]

void Admin( mixed $contest_api, mixed $contest_short_name)

Handler for contest/create

Show a contest create form and handles POST




[ Top ]

method ContestDelete [line 601]

void ContestDelete( string $contest_short_name)

Delete a contest

(not implemented)




Parameters:

string   $contest_short_name   Internal contest name

[ Top ]

method CreateContest [line 408]

void CreateContest( mixed $contest_api)

Handler for contest/create

Show a contest create form and handles POST




[ Top ]

method EditContest [line 614]

void EditContest( mixed $contest_api, string $contest_short_name)

Handles contest/[name]/edit and POST results from form



Parameters:

string   $contest_short_name   Short (internal) name of contest

[ Top ]

method PublishSources [line 313]

void PublishSources( mixed $contest_short_name)



[ Top ]

method SubmitSource [line 652]

void SubmitSource( mixed $contest_api, string $contest_short_name)

Handles contest/[contest_short_name]/entry/submit

This will display a form to submit sources to the contest.




Parameters:

string   $contest_short_name   Short (internal) name of contest

[ Top ]

method UpgradeGlobals [line 300]

void UpgradeGlobals( )



[ Top ]

method _get_contest_tabs [line 497]

void _get_contest_tabs( string $short_name, string $full_name)

Internal helper for getting default contest tabs



Parameters:

string   $short_name   Contest short name
string   $full_name   Contest friendly name

[ Top ]

method _get_submit_form [line 470]

void _get_submit_form( mixed $short_name, mixed $full_name, mixed $logo, mixed $entry_url)



[ Top ]


Documentation generated on Sat, 17 Nov 2007 01:03:26 +0000 by phpDocumentor 1.3.0RC4