Class Main

Description

Main controller class for stikked.

Located in /controllers/main.php (line 24)

Controller
   |
   --Main
Method Summary
 void __construct ()
 void about ()
 void; cron ()
 void download ()
 void index ()
 void lists ()
 void raw ()
 void view ()
 void view_options ()
Methods
Constructor __construct (line 33)

Class Constructor, loads languages model which is inherited in the pastes model.

void __construct ()
about (line 392)

Controller method to load about view.

  • access: public
void about ()
cron (line 368)

Controller method to run the cron. Requires a valid cron key supplied as an argument in the url.

  • access: public
void; cron ()
download (line 215)

Controller method to download pastes.

  • access: public
void download ()
index (line 113)

Controller method to load front page.

  • see: _valid_lang()
  • see: _form_prep()
  • access: public
void index ()
lists (line 240)

Controller method to show recent pastes.

  • access: public
void lists ()
raw (line 190)

Controller method to load raw pastes.

  • access: public
void raw ()
view (line 256)

Controller method to show a paste.

  • access: public
void view ()
view_options (line 325)

Displays the page where a user can change their paste viewing settings which are saved to session data.

  • access: public
void view_options ()

Documentation generated on Mon, 15 Sep 2008 12:57:44 +0100 by phpDocumentor 1.4.2