public function __construct() { parent::__construct(); $this->db = jream\Registry::fetch('db'); }
public function __construct() { parent::__construct(); $this->db = new jream\Database(array('type' => 'mysql', 'host' => 'localhost', 'name' => 'test', 'user' => 'robot', 'pass' => 'robot')); }