Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 30th, 2012  |  syntax: None  |  size: 0.46 KB  |  hits: 40  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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