1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
5 * Sets necessary objects like session and database
8 class Ninja_Model
extends Model
10 public $session = false; /**< The user's current session */
12 public function __construct()
14 parent
::__construct();
15 $this->session
= Session
::instance();