SHARE
TWEET

Untitled

a guest Oct 30th, 2012 45 Never
  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
RAW Paste Data
Top