Welcome Guest, Not a member yet? Register   Sign In
Library inside library
#7

[eluser]Sawariya[/eluser]
one library is---Userauth
class CI_Userauth {

var $obj;

function CI_Userauth()
{
$this->obj =& get_instance();
$this->obj->load->model('user_group_model', '', TRUE);
$this->obj->load->model('remember_me', '', TRUE);
$this->obj->load->library('ua_authorize');
log_message('debug',
'User Authentication Class Initialised via '.get_class($this->obj));
}
}

another one is
class Ua_authorize {

// ACL variables
var $allowed_users = array(); // Allowed Groups and users
var $denied_users = array(); // Denied Groups and users
var $allowed_set = FALSE; // Has set_allowed() been used
var $denied_set = FALSE; // Has set_denied() been used
var $allow = FALSE; // Cuurent status of permission

function Ua_authorize()
{
$this->obj =& get_instance();
}
}


Messages In This Thread
Library inside library - by El Forum - 01-09-2008, 05:14 AM
Library inside library - by El Forum - 01-09-2008, 05:23 AM
Library inside library - by El Forum - 01-09-2008, 05:42 AM
Library inside library - by El Forum - 01-09-2008, 05:43 AM
Library inside library - by El Forum - 01-09-2008, 05:53 AM
Library inside library - by El Forum - 01-09-2008, 05:54 AM
Library inside library - by El Forum - 01-09-2008, 05:57 AM
Library inside library - by El Forum - 01-09-2008, 06:00 AM
Library inside library - by El Forum - 01-09-2008, 06:02 AM
Library inside library - by El Forum - 01-09-2008, 06:04 AM
Library inside library - by El Forum - 01-09-2008, 06:08 AM
Library inside library - by El Forum - 01-09-2008, 06:10 AM
Library inside library - by El Forum - 01-09-2008, 06:18 AM
Library inside library - by El Forum - 01-09-2008, 06:21 AM
Library inside library - by El Forum - 01-09-2008, 06:26 AM
Library inside library - by El Forum - 01-09-2008, 06:30 AM
Library inside library - by El Forum - 01-09-2008, 06:31 AM
Library inside library - by El Forum - 01-09-2008, 06:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB