CAFPE Docs
  • Class

Classes

  • Article_model
  • Articles
  • Auth
  • Auth_controller
  • Bcrypt
  • Hierarchical_controllers
  • Ion_auth
  • Ion_auth_model
  • MY_Controller
  • MY_Lang
  • MY_Model
  • Pages
  • Private_pages
  • Public_controller
  • Seeder
  • Slug
  • User_sessions
  • Users

Functions

  • action_result
  • actions_widget
  • admin_area_buttons
  • base64_current_url_encode
  • base64_url_decode
  • base64_url_encode
  • current_lang
  • jscript_tag
  • lang_switcher
  • logged_in
  • redirect_lang
  • site_url_lang
  • style_tag

Class Ion_auth

Name: Ion Auth

Author: Ben Edmunds ben.edmunds@gmail.com

Benedmunds:

Added Awesomeness: Phil Sturgeon

Location: http://github.com/benedmunds/CodeIgniter-Ion-Auth

Created: 10.01.2009

Description: Modified auth system based on redux_auth with extensive customization. This is basically what Redux Auth 2 should be. Original Author name has been kept but that does not mean that the method has not been modified.

Requirements: PHP5 or above


Located at ionauth/libraries/Ion_auth.php

Methods summary

public
# __construct( )

__construct

__construct

Author

Ben
public mixed
# __call( $method, $arguments )

__call

__call

Acts as a simple way to call model methods without loads of stupid alias'

Parameters

$method
$arguments

Returns

mixed

Throws

Exception
public mixed
# __get( $var )

__get

__get

Enables the use of CI super-global without having to define an extra variable.

I can't remember where I first saw this, so thank you if you are the original author. -Militis

Parameters

$var

Returns

mixed
public mixed
# forgotten_password( $identity )

forgotten password feature

forgotten password feature

Parameters

$identity

Returns

mixed
boolean / array

Author

Mathew
public boolean
# forgotten_password_complete( $code )

forgotten_password_complete

forgotten_password_complete

Parameters

$code

Returns

boolean

Author

Mathew
public boolean
# forgotten_password_check( $code )

forgotten_password_check

forgotten_password_check

Parameters

$code

Returns

boolean

Author

Michael
public boolean
# register( $identity, $password, $email, array $additional_data = array(), array $group_ids = array() )

register

register

Parameters

$identity
$password
$email
$additional_data
$group_ids

Returns

boolean

Author

Mathew
public
# logout( )

logout

logout

Author

Mathew
public boolean
# logged_in( )

logged_in

logged_in

Returns

boolean

Author

Mathew
public integer
# get_user_id( )

logged_in

logged_in

Returns

integer

Author

jrmadsen67
public boolean
# is_admin( $id = false )

is_admin

is_admin

Returns

boolean

Author

Ben Edmunds
public boolean
# in_group( mixed $check_group, boolean $id = false, boolean $check_all = false )

in_group

in_group

Parameters

$check_group
to check
$id
id
$check_all
if all groups is present, or any of the groups

Returns

boolean

Author

Phil Sturgeon

Properties summary

protected string $status

account status ('not_activated', etc ...)

account status ('not_activated', etc ...)

#
public array $_extra_where

extra where

extra where

# array()
public array $_extra_set

extra set

extra set

# array()
public array $_cache_user_in_group

caching of users and their groups

caching of users and their groups

#
CAFPE Docs API documentation generated by ApiGen