Avail feature updated
[ninja.git] / application / models / ninja.php
blob3a49409e3011f3103d4cd3035ddd5c260b273244
1 <?php defined('SYSPATH') OR die('No direct access allowed.');
3 /**
4 * Base NINJA model.
5 * Sets necessary objects like session and database
6 * @author op5 AB
7 */
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();