ci = $ci; $this->conf = $ci->get('conf'); $this->linkDb = $ci->get('db'); $this->history = $ci->get('history'); if ($this->conf->get('dev.debug', false)) { $this->jsonStyle = JSON_PRETTY_PRINT; } else { $this->jsonStyle = null; } } /** * Get the container. * * @return Container */ public function getCi() { return $this->ci; } }