Campustream 1.0
A social network MQP for WPI
Hub Class Reference

Public Member Functions

 browserInfo ($agent=null)

Static Public Member Functions

static run ()
static determine_response_format ()
static setup ()
static redirect ($url)
static send404 ()
static is_ajax ()
static cache_headers ($unique_id)
static auto_load ($class)
static http_error ($code, $message=false)
static exception_handler ($exception)
static error_handler ($errno, $errstr, $errfile, $errline)
static shutdown ()

Static Public Attributes

static $activecontroller = NULL
static $response_format = NULL
static $mime_types = array( 'xml' => 'text/xml', 'html' => 'text/html', 'json' => 'application/json', 'rss' => 'application/rss+xml', 'jsx' => 'application/javascript', 'js' => 'text/javascript' )

Detailed Description

Definition at line 3 of file hub.php.


Member Function Documentation

static auto_load ( class) [static]

Definition at line 103 of file hub.php.

browserInfo ( agent = null)

Definition at line 64 of file hub.php.

static cache_headers ( unique_id) [static]

Definition at line 89 of file hub.php.

static determine_response_format ( ) [static]

Definition at line 27 of file hub.php.

static error_handler ( errno,
errstr,
errfile,
errline 
) [static]

Definition at line 205 of file hub.php.

static exception_handler ( exception) [static]

Definition at line 199 of file hub.php.

static http_error ( code,
message = false 
) [static]

Definition at line 153 of file hub.php.

static is_ajax ( ) [static]

Definition at line 85 of file hub.php.

static redirect ( url) [static]

Definition at line 56 of file hub.php.

static run ( ) [static]

Definition at line 11 of file hub.php.

static send404 ( ) [static]

Definition at line 60 of file hub.php.

static setup ( ) [static]

Definition at line 48 of file hub.php.

static shutdown ( ) [static]

Definition at line 210 of file hub.php.


Field Documentation

$activecontroller = NULL [static]

Definition at line 5 of file hub.php.

$mime_types = array( 'xml' => 'text/xml', 'html' => 'text/html', 'json' => 'application/json', 'rss' => 'application/rss+xml', 'jsx' => 'application/javascript', 'js' => 'text/javascript' ) [static]

Definition at line 8 of file hub.php.

$response_format = NULL [static]

Definition at line 6 of file hub.php.


The documentation for this class was generated from the following file: