forked from emreakay/CodeIgniter-Aauth
-
Notifications
You must be signed in to change notification settings - Fork 0
7) User and System Variables
Emre Akay edited this page Jul 4, 2014
·
2 revisions
with Aauth v2 you can define user specified variables or sytem variables for all users.
Set User Variable as key value if variable not set before, it will ve set if set, overwrites the value
$this->aauth->set_user_var("phone","+90 532 343 22 34");
$this->aauth->set_user_var("address","Kardesler Building, Cakmaklar Street No:34 Sutluce / Istanbul");Unset User Variable as key value
$this->aauth->unset_user_var("phone");Get User Variable by key Return string of variable value or false when not found.
$this->aauth->get_user_var("phone");Set Aauth System Variable as key value if variable not set before, it will be set if set, overwrites the value
Unset Aauth System Variable
Get Aauth System Variable by key Return string of variable value or false
Aauth V2 Wiki created by emreakay.com