[Stikked] element index

Package indexes

All elements
a c d g i l m p r s v _
_
top
Method __construct
Class Constructor, loads languages model which is inherited in the pastes model.
Method __construct
Iphone::__construct() in iphone.php
Class Constructor
Method __construct
Pastes::__construct() in Pastes.php
Method __construct
Languages::__construct() in Languages.php
Class Constructor
a
top
Method about
Main::about() in main.php
Controller method to load about view.
c
top
Method cron
Main::cron() in main.php
Controller method to run the cron. Requires a valid cron key supplied as an argument in the url.
Method checkPaste
Pastes::checkPaste() in Pastes.php
Checks if a paste exists
Method code_to_description
Takes a language code eg. php, cpp, html4 and converts it to its description eg. PHP, C++, Html 4 (Strict).
Method countPastes
Pastes::countPastes() in Pastes.php
Counts pastes in the database to be used when generating pagination
Method createPaste
Pastes::createPaste() in Pastes.php
Creates a paste in the database. This doesn't take any arguments as it's easier to use the input class.
Method cron
Pastes::cron() in Pastes.php
Finds paste that need to be deleted and deletes them.
d
top
Method download
Main::download() in main.php
Controller method to download pastes.
g
top
Method getLists
Pastes::getLists() in Pastes.php
Gets a list of x most recent pastes according to the amount set in the stikked config file.
Method getPaste
Pastes::getPaste() in Pastes.php
Gets a specific paste from the database and all its related meta-data
Method get_languages
Gets list of languages from database to generate select field on paste form.
i
top
Page iphone.php
iphone.php in iphone.php
Method index
Main::index() in main.php
Controller method to load front page.
Method index
Iphone::index() in iphone.php
Displays recent pastes in an iPhone optimized version.
Class Iphone
Iphone in iphone.php
iPhone controller class for stikked.
l
top
Page Languages.php
Languages.php in Languages.php
Method lists
Main::lists() in main.php
Controller method to show recent pastes.
Class Languages
Languages in Languages.php
Main controller class for stikked.
m
top
Page main.php
main.php in main.php
Class Main
Main in main.php
Main controller class for stikked.
p
top
Page Process.php
Process.php in Process.php
Page Pastes.php
Pastes.php in Pastes.php
Class Process
Process in Process.php
Source code processing class / Geshi Wrapper
Class Pastes
Pastes in Pastes.php
Main model class for pastes table/stikked.
r
top
Method raw
Main::raw() in main.php
Controller method to load raw pastes.
s
top
Method syntax
Process::syntax() in Process.php
Runs source code through Geshi syntax highlighting engine.
v
top
Method view
Iphone::view() in iphone.php
Displays an individual paste in an iPhone optimized version.
Method view
Main::view() in main.php
Controller method to show a paste.
Method view_options
Displays the page where a user can change their paste viewing settings which are saved to session data.
Method valid_language
Checks if a language is valid, called from the main controller _valid_lang validation callback method
a c d g i l m p r s v _