## Full index

### Package indexes

- Stikked
- CodeIgniter

a
top

about
  Main::about() in main.php
  Controller method to load about view.

c
top

$cookie_sent
  DB_Session::$cookie_sent in DB_Session.php
checkPaste
  Pastes::checkPaste() in Pastes.php
  Checks if a paste exists
code_to_description
  Languages::code_to_description() in Languages.php
  Takes a language code eg. php, cpp, html4 and converts it to its description eg. PHP, C++, Html 4 (Strict).
countPastes
  Pastes::countPastes() in Pastes.php
  Counts pastes in the database to be used when generating pagination
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.
cron
  Pastes::cron() in Pastes.php
  Finds paste that need to be deleted and deletes them.
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

DB_Session
  DB_Session::DB_Session() in DB_Session.php
  Session Constructor
DB_Session
  DB_Session in DB_Session.php
  Session Class
download
  Main::download() in main.php
  Controller method to download pastes.
DB_Session.php
  DB_Session.php in DB_Session.php

e
top

$encryption
  DB_Session::$encryption in DB_Session.php

f
top

$flash_key
  DB_Session::$flash_key in DB_Session.php
flashdata
  DB_Session::flashdata() in DB_Session.php
  Returns "flash" data for the given key.

g
top

$gc_probability
  DB_Session::$gc_probability in DB_Session.php
getLists
  Pastes::getLists() in Pastes.php
  Gets a list of x most recent pastes according to the amount set in the stikked config file.
getPaste
  Pastes::getPaste() in Pastes.php
  Gets a specific paste from the database and all its related meta-data
get_languages
  Languages::get_languages() in Languages.php
  Gets list of languages from database to generate select field on paste form.

i
top

iphone.php
  iphone.php in iphone.php
index
  Main::index() in main.php
  Controller method to load front page.
index
  Iphone::index() in iphone.php
  Displays recent pastes in an iPhone optimized version.
Iphone
  Iphone in iphone.php
  iPhone controller class for stikked.

k
top

keep_flashdata
  DB_Session::keep_flashdata() in DB_Session.php
  Keeps existing "flash" data available to next request.

l
top

Languages
  Languages in Languages.php
  Main controller class for stikked.
lists
  Main::lists() in main.php
  Controller method to show recent pastes.
Languages.php
  Languages.php in Languages.php

m
top

main.php
  main.php in main.php
Main
  Main in main.php
  Main controller class for stikked.

n
top

$now
  DB_Session::$now in DB_Session.php

o
top

$object
  DB_Session::$object in DB_Session.php

p
top

Process.php
  Process.php in Process.php
Pastes.php
  Pastes.php in Pastes.php
Pastes
  Pastes in Pastes.php
  Main model class for pastes table/stikked.
Process
  Process in Process.php
  Source code processing class / Geshi Wrapper

r
top

raw
  Main::raw() in main.php
  Controller method to load raw pastes.

s
top

$session_table
  DB_Session::$session_table in DB_Session.php
$sess_cookie
  DB_Session::$sess_cookie in DB_Session.php
$sess_length
  DB_Session::$sess_length in DB_Session.php
sess_create
  DB_Session::sess_create() in DB_Session.php
  Create a new session
sess_destroy
  DB_Session::sess_destroy() in DB_Session.php
  Destroy the current session
sess_gc
  DB_Session::sess_gc() in DB_Session.php
  Garbage collection
sess_read
  DB_Session::sess_read() in DB_Session.php
  Fetch the current session data if it exists
sess_run
  DB_Session::sess_run() in DB_Session.php
  Run the session routines
sess_send_cookie
  DB_Session::sess_send_cookie() in DB_Session.php
  Write the session cookie
sess_update
  DB_Session::sess_update() in DB_Session.php
  Update an existing session
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.
set_userdata
  DB_Session::set_userdata() in DB_Session.php
  Add or change data in the "userdata" array
syntax
  Process::syntax() in Process.php
  Runs source code through Geshi syntax highlighting engine.

u
top

$userdata
  DB_Session::$userdata in DB_Session.php
$use_database
  DB_Session::$use_database in DB_Session.php
unset_userdata
  DB_Session::unset_userdata() in DB_Session.php
  Delete a session variable from the "userdata" array
userdata
  DB_Session::userdata() in DB_Session.php
  Fetch a specific item form the session array

v
top

valid_language
  Languages::valid_language() in Languages.php
  Checks if a language is valid, called from the main controller _valid_lang validation callback method
view
  Iphone::view() in iphone.php
  Displays an individual paste in an iPhone optimized version.
view
  Main::view() in main.php
  Controller method to show a paste.
view_options
  Main::view_options() in main.php
  Displays the page where a user can change their paste viewing settings which are saved to session data.

_
top

_flashdata_mark
  DB_Session::_flashdata_mark() in DB_Session.php
  PRIVATE: Internal method - marks "flash" session attributes as 'old'
_flashdata_sweep
  DB_Session::_flashdata_sweep() in DB_Session.php
  PRIVATE: Internal method - removes "flash" session marked as 'old'
__construct
  Pastes::__construct() in Pastes.php
__construct
  Main::__construct() in main.php
  Class Constructor, loads languages model which is inherited in the pastes model.
__construct
  Iphone::__construct() in iphone.php
  Class Constructor
__construct
  Languages::__construct() in Languages.php
  Class Constructor