Loader Library - RoverWire/codeigniter-utilities GitHub Wiki

Official Codeginiter documentation loader library reference

Add package

Trigger: ciloadadd

Results: $this->load->add_package_path('path');

Config

Trigger: ciloadconf

Results: $this->load->config('file_name');

Database

Trigger: ciloaddb

Results: $this->load->database();

File

Trigger: ciloadfile

Results: $this->load->file('file_name');

Get var

Trigger: ciloadgetvar

Results: $this->load->get_var($key);

Helper

Trigger: ciloadhel

Results: $this->load->helper('file_name');

Language

Trigger: ciloadlang

Results: $this->load->language('file_name');

Model

Trigger: ciloadmod

Results: $this->load->model('model_name', 'model_alias');

Remove package

Trigger: ciloadrem

Results: $this->load->remove_package_path('path');

Vars

Trigger: ciloadvars

Results: $this->load->vars($array);

View

Trigger: ciloadview

Results: $this->load->view('view_name', $data, TRUE);

⚠️ **GitHub.com Fallback** ⚠️