Welcome Guest, Not a member yet? Register   Sign In
Ion Auth - Lightweight Auth System based on Redux Auth 2

[eluser]Ben Edmunds[/eluser]
Bernd,

No the methods have changed as well.

For example, to get the current user as an object you do:

Code:
$user = $this->ion_auth->user()->result();

to get the current user as an array:

Code:
$user_array = $this->ion_auth->user()->result_array();

or to get all the active users order desc by id do:

Code:
$users = $this->ion_auth->where('active', 1)
                        ->order_by('id', 'desc')
                        ->users()
                        ->result();


Messages In This Thread
Ion Auth - Lightweight Auth System based on Redux Auth 2 - by El Forum - 05-27-2011, 09:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB