Advertisement
Guest User

Untitled

a guest
Oct 30th, 2012
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. <?php defined('SYSPATH') or die('No direct access allowed.');
  2. /**
  3. * Default auth user
  4. *
  5. * @package Kohana/Auth
  6. * @author Kohana Team
  7. * @copyright (c) 2007-2011 Kohana Team
  8. * @license http://kohanaframework.org/license
  9. */
  10. class Model_Role extends AutoModeler_ORM {
  11.  
  12. protected $table_name = 'roles';
  13.  
  14. protected $data = array('id' => '',
  15. 'name' => '');
  16.  
  17. protected $belongs_to = array('users');
  18.  
  19. } // End User Model User Model
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement