-
Notifications
You must be signed in to change notification settings - Fork 235
7) User Variables
Raphael Jackstadt edited this page Jun 27, 2016
·
1 revision
with Aauth v2 you can define user specified 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");
Aauth V2 Wiki created by emreakay.com