Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php defined('SYSPATH') or die('No direct access allowed.');
- /**
- * Default auth user
- *
- * @package Kohana/Auth
- * @author Kohana Team
- * @copyright (c) 2007-2011 Kohana Team
- * @license http://kohanaframework.org/license
- */
- class Model_Role extends AutoModeler_ORM {
- protected $table_name = 'roles';
- protected $data = array('id' => '',
- 'name' => '');
- protected $belongs_to = array('users');
- } // End User Model User Model
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement