User Creation changes

This commit is contained in:
gandhimathi Bharathirajan 2017-05-13 18:17:18 +05:30
parent d3a9c4e12c
commit f6310f4dc6

View File

@ -11,6 +11,10 @@ class BaseController extends CI_Controller {
protected $role = '';
protected $vendorId = '';
protected $name = '';
protected $Designation = '';
protected $DEPCode = '';
protected $HeadDept = '';
protected $DepartmentName = '';
protected $roleText = '';
protected $global = array ();
@ -40,10 +44,14 @@ class BaseController extends CI_Controller {
$this->vendorId = $this->session->userdata ( 'userId' );
$this->name = $this->session->userdata ( 'name' );
$this->roleText = $this->session->userdata ( 'roleText' );
$this->Designation = $this->session->userdata ( 'Designation' );
$this->DEPCode = $this->session->userdata ( 'DEPCode' );
$this->HeadDept = $this->session->userdata ( 'HeadDept' );
$this->DepartmentName = $this->session->userdata ( 'DepartmentName' );
$this->global ['name'] = $this->name;
$this->global ['role'] = $this->role;
$this->global ['role_text'] = $this->roleText;
$this->global ['DEPCode'] = $this->DEPCode;
}
}