Full index

Package indexes


a c d e f g i k l m n o p r s u v _
a
top
Method about
Main::about() in main.php
Controller method to load about view.
c
top
Variable $cookie_sent
DB_Session::$cookie_sent in DB_Session.php
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.
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.
d
top
Method DB_Session
DB_Session::DB_Session() in DB_Session.php
Session Constructor
Class DB_Session
DB_Session in DB_Session.php
Session Class
Method download
Main::download() in main.php
Controller method to download pastes.
Page DB_Session.php
DB_Session.php in DB_Session.php
e
top
Variable $encryption
DB_Session::$encryption in DB_Session.php
f
top
Variable $flash_key
DB_Session::$flash_key in DB_Session.php
Method flashdata
DB_Session::flashdata() in DB_Session.php
Returns "flash" data for the given key.
g
top
Variable $gc_probability
DB_Session::$gc_probability in DB_Session.php
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.
k
top
Method keep_flashdata
Keeps existing "flash" data available to next request.
l
top
Class Languages
Languages in Languages.php
Main controller class for stikked.
Method lists
Main::lists() in main.php
Controller method to show recent pastes.
Page Languages.php
Languages.php in Languages.php
m
top
Page main.php
main.php in main.php
Class Main
Main in main.php
Main controller class for stikked.
n
top
Variable $now
DB_Session::$now in DB_Session.php
o
top
Variable $object
DB_Session::$object in DB_Session.php
p
top
Page Process.php
Process.php in Process.php
Page Pastes.php
Pastes.php in Pastes.php
Class Pastes
Pastes in Pastes.php
Main model class for pastes table/stikked.
Class Process
Process in Process.php
Source code processing class / Geshi Wrapper
r
top
Method raw
Main::raw() in main.php
Controller method to load raw pastes.
s
top
Variable $session_table
DB_Session::$session_table in DB_Session.php
Variable $sess_cookie
DB_Session::$sess_cookie in DB_Session.php
Variable $sess_length
DB_Session::$sess_length in DB_Session.php
Method sess_create
DB_Session::sess_create() in DB_Session.php
Create a new session
Method sess_destroy
DB_Session::sess_destroy() in DB_Session.php
Destroy the current session
Method sess_gc
DB_Session::sess_gc() in DB_Session.php
Garbage collection
Method sess_read
DB_Session::sess_read() in DB_Session.php
Fetch the current session data if it exists
Method sess_run
DB_Session::sess_run() in DB_Session.php
Run the session routines
Method sess_send_cookie
Write the session cookie
Method sess_update
DB_Session::sess_update() in DB_Session.php
Update an existing session
Method set_flashdata
DB_Session::set_flashdata() in DB_Session.php
Sets "flash" data which will be available only in next request (then it will be deleted from session). You can use it to implement "Save succeeded" messages after redirect.
Method set_userdata
DB_Session::set_userdata() in DB_Session.php
Add or change data in the "userdata" array
Method syntax
Process::syntax() in Process.php
Runs source code through Geshi syntax highlighting engine.
u
top
Variable $userdata
DB_Session::$userdata in DB_Session.php
Variable $use_database
DB_Session::$use_database in DB_Session.php
Method unset_userdata
Delete a session variable from the "userdata" array
Method userdata
DB_Session::userdata() in DB_Session.php
Fetch a specific item form the session array
v
top
Method valid_language
Checks if a language is valid, called from the main controller _valid_lang validation callback method
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.
_
top
Method _flashdata_mark
PRIVATE: Internal method - marks "flash" session attributes as 'old'
Method _flashdata_sweep
PRIVATE: Internal method - removes "flash" session marked as 'old'
Method __construct
Pastes::__construct() in Pastes.php
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
Languages::__construct() in Languages.php
Class Constructor
a c d e f g i k l m n o p r s u v _