This if here solely for CI loading to work.
public function __construct()
Grabs a pointer to the CI instance, gets the user’s IP address, and attempts to automatically log in the user.
public function __construct()
This constructor is here purely for CI’s benefit, as this is a static class.
public function __construct()
This if here solely for CI loading to work.
public function __construct()
Class constructor.
public function __construct()
This constructor is here purely for CI’s benefit, as this is a static class.
public function __construct()
protected function _function_check( $id = FALSE, & $data = FALSE )
Gets all the activity based on parameters passed
public function _get_activity( $which = 'activity_user', $find_value = FALSE )
Returns the identity to be used upon user registration.
private function _identity_login ()
Stores the current schema version in the database.
private function _update_schema_version( $schema_version, $type = '' )
Retrieves first and last name from given string.
function abbrev_name( $name = '' )
Stores the available menu actions.
private $actions
Stores the name of the active theme (folder) with a trailing slash.
protected static $active_theme
Shows the activites before the specified date.
public function activity_date()
Shows the activites for the specified module.
public function activity_module()
Shows the activites for the specified user.
public function activity_user()
Adds a file to be the CSS queue to be rendered out.
public static function add_css( $style = null, $media = 'screen' )
Adds scripts to the array to be served with the js() method, below.
public static function add_js( $script = null, $type = 'external', $prepend = false )
Adds a module css file to the CSS queue to be rendered out.
public static function add_module_css( $module, $file_path = null, $media = 'screen' )
Adds a module’s javascript file to be rendered.
public function add_module_js( $module = '', $file = '' )
Theme paths allow you to have multiple locations for themes to be stored.
public static function add_theme_path( $path = null )
When given an array of arrays (or objects) it will return the index of the sub-array where $key == $value.
if ( !function_exists('array_index_by_key') )
The base folder (relative to the template.site_root config setting) that all of the assets are stored in.
private static $asset_base
The name of the cache folders for the various generated assets.
private static $asset_cache_folder
The names of the folders for the various assets.
private static $asset_folders
Converts an array of attribute into a string
private static function attributes( $attributes = null )
A utility function for showing authentication errors.
if ( !function_exists('auth_errors') )
Attempts to log the user in based on an existing ‘autologin’ cookie.
private function autologin()
Renders a “block” to the view.
public static function block( $block_name = '', $default_view = '', $data = array(), $themed = false )
An array of blocks.
public static $blocks
Will create a breadcrumb from either the uri->segments or from a key/value paired array passed into it.
function breadcrumb( $my_segments = null )
Handles building an individual list item (with sub-menus) for the menu.
public function build_item( $module, $title, $display_name, $context, $menu_view = '' )
Handles building out the HTML for the menu.
private function build_menu( $context )
Handles the heavy-lifting of building a module from ther user’s specs.
private function build_module( $field_total = )