Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 1.04 KB

README.MD

File metadata and controls

35 lines (32 loc) · 1.04 KB

Uview


Uview is a simple View library for Codeigniter made by Arhen at Upana Studio. Using this library, you can

  • json reponse
  • builder
  • set filename
  • set breadcumb
  • set js_path
  • set css_path

Changelog's (version final 1.0.0)

  • add function $this->set_layout use it for define our layout path

Installation


uview require php7.x and CodeIgniter > = 3.x Download this github, then copy its content to your fresh/existing codeigniter project.

$ cd your-projects
$ git clone https://github.com/upanastudio/uview.git
$ cp -a uview/. application/.

Usage


Method Usage Parameters Return Type
builder $this->uview->builder() $data_view, ‘Admin’, ‘admin’
set_breadcumb $this->uview->set_breadcumbs()->builder($data_view, 'Admin', 'admin') 'Admin' string
set_breadcumb $this->uview->set_breadcumbs()->builder($data_view, 'Admin', 'admin') array('test2' => 'admin/test/2', 'test3' => 'admin/test/3') array

License


MIT Free Sofware, Hell Yeah!