Forum

kohana framework - ...
 
Notifications
Clear all

kohana framework - check user role exist

1 Posty
1 Users
0 Reactions
2,278 Widok
0
Topic starter

example

1 Answer
0
Topic starter
$user->has('roles', ORM::factory('Role', array('name' => 'MY_ROLE_NAME')))

Odpowiedź

Author Name

Author Email

Your question *

Preview 0 Revisions Saved
Share: