| $#! | |
| __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 |
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 = '' )
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') )
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 )
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 = )
Verifies that a role can be deleted.
public function can_delete_role( $role_id = )
A simple helper method for checking menu items against the current class that is running.
function check_class( $item = '' )
A simple helper method for checking menu items against the current class’ method that is being executed (as far as the Router knows.)
function check_method( $item )
Deletes all asset cache files from the assets/cache folder.
public function clear_cache()
Clears all login attempts for this user, as well as cleans out old logins.
protected function clear_login_attempts( $login = null, $expires = 86400 )
Does the actual work of generating the combined css code.
public static function combine_css( $files = array(), $media = 'screen', $type = '' )
Does the actual work of generating the combined js code.
public static function combine_js( $files = array(), $type = '' )
Builds the navigation used in the admin theme for the main contexts list.
function context_nav( $mode = 'icon' )
Returns the number of rows in the table.
public function count_all()
Counts all users in the system.
public function count_all( $get_deleted = false )
Returns the number of elements that match the field/value pair.
public function count_by( $field = '', $value = NULL )
Returns the number of users that belong to each role.
public function count_by_roles()
Creates a country-based dropdown form input based on the entries in the address.countries config.
if ( !function_exists('country_select') )
Displays the create a module form.
public function create()
Creates a new role permission entry
public function create( $role_id, $permission_id )
Create the auto-login entry in the database.
private function create_autologin( $user_id = 0, $old_token = null )
Creates a new role permission entry
function create_role_permissions( $role_id, $permission_id )
Renders links to stylesheets, with the $asset_url prepended.
public static function css( $style = null, $media = 'screen', $bypass_inheritance = false )
Verifies that cURL is enabled as a PHP extension.
private function cURL_check()