Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 __construct
 _function_check, BF_Model
 _get_activity, Activities Reports Context
 _identity_login, Auth
 _update_schema_version, Migrations Class
A
 abbrev_name, Auth
 activity_date, Activities Reports Context
 activity_module, Activities Reports Context
 activity_user, Activities Reports Context
 add_css, Assets Class
 add_js, Assets Class
 add_module_css, Assets Class
 add_module_js, Assets Class
 add_theme_path, Template
 array_index_by_key
 attributes, Assets Class
 auth_errors, Auth
 autologin, Auth
B
 block, Template
 breadcrumb, Template
 build_item
 build_menu
 build_module
C
 can_delete_role, Role_model
 check_class, Template
 check_method, Template
 clear_cache, Assets Class
 clear_login_attempts, Auth
 combine_css, Assets Class
 combine_js, Assets Class
 context_nav
 count_all
 count_by, BF_Model
 count_by_roles, User_model
 country_select
 create
 create_autologin, Auth
 create_role_permissions, Role_permission_model
 css, Assets Class
 cURL_check, Install
public function __construct()
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.
protected function _function_check($id = FALSE,
&$data = FALSE)
public function _get_activity($which = 'activity_user',
$find_value = FALSE)
Gets all the activity based on parameters passed
private function _identity_login ()
Returns the identity to be used upon user registration.
private function _update_schema_version($schema_version,  
$type = '')
Stores the current schema version in the database.
function abbrev_name($name =  '')
Retrieves first and last name from given string.
public function activity_date()
Shows the activites before the specified date.
public function activity_module()
Shows the activites for the specified module.
public function activity_user()
Shows the activites for the specified user.
public static function add_css($style = null,
$media = 'screen')
Adds a file to be the CSS queue to be rendered out.
public static function add_js($script = null,
$type = 'external',
$prepend = false)
Adds scripts to the array to be served with the js() method, below.
public static function add_module_css($module,  
$file_path = null,
$media = 'screen')
Adds a module css file to the CSS queue to be rendered out.
public function add_module_js($module = '',
$file = '')
Adds a module’s javascript file to be rendered.
public static function add_theme_path($path = null)
Theme paths allow you to have multiple locations for themes to be stored.
if (!function_exists('array_index_by_key'))
When given an array of arrays (or objects) it will return the index of the sub-array where $key == $value.
private static function attributes($attributes = null)
Converts an array of attribute into a string
if (!function_exists('auth_errors'))
A utility function for showing authentication errors.
private function autologin()
Attempts to log the user in based on an existing ‘autologin’ cookie.
public static function block($block_name = '',
$default_view = '',
$data = array(),
$themed = false)
Renders a “block” to the view.
function breadcrumb($my_segments = null)
Will create a breadcrumb from either the uri->segments or from a key/value paired array passed into it.
public function build_item($module,  
$title,  
$display_name,  
$context,  
$menu_view = '')
Handles building an individual list item (with sub-menus) for the menu.
private function build_menu($context)
Handles building out the HTML for the menu.
private function build_module($field_total = )
Handles the heavy-lifting of building a module from ther user’s specs.
public function can_delete_role($role_id = )
Verifies that a role can be deleted.
function check_class($item = '')
A simple helper method for checking menu items against the current class that is running.
function check_method($item)
A simple helper method for checking menu items against the current class’ method that is being executed (as far as the Router knows.)
public function clear_cache()
Deletes all asset cache files from the assets/cache folder.
protected function clear_login_attempts($login = null,
$expires =  86400)
Clears all login attempts for this user, as well as cleans out old logins.
public static function combine_css($files = array(),
$media = 'screen',
$type =  '')
Does the actual work of generating the combined css code.
public static function combine_js($files = array(),
$type = '')
Does the actual work of generating the combined js code.
function context_nav($mode = 'icon')
Builds the navigation used in the admin theme for the main contexts list.
public function count_all()
Returns the number of rows in the table.
public function count_all($get_deleted =  false)
Counts all users in the system.
public function count_by($field = '',
$value = NULL)
Returns the number of elements that match the field/value pair.
public function count_by_roles()
Returns the number of users that belong to each role.
if (!function_exists('country_select'))
Creates a country-based dropdown form input based on the entries in the address.countries config.
public function create()
Displays the create a module form.
public function create($role_id,
$permission_id)
Creates a new role permission entry
private function create_autologin($user_id = 0,
$old_token = null)
Create the auto-login entry in the database.
function create_role_permissions($role_id,
$permission_id)
Creates a new role permission entry
public static function css($style = null,
$media = 'screen',
$bypass_inheritance = false)
Renders links to stylesheets, with the $asset_url prepended.
private function cURL_check()
Verifies that cURL is enabled as a PHP extension.
Close