Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.35 KB

README.md

File metadata and controls

27 lines (16 loc) · 1.35 KB

CodeIgniter 2 ModelController Snippet

Codeigniter Downloads

This is Sublime Text 2 / 3 snippet, for creation of CodeIgniter 2 Controllers and Models, speeding up common tasks when making a new Controller or Model

Installation

If you have Package Control installed, you can get CodeIgniter 2 ModelController Snippet very easily, by following these steps:

1.- Open command palette.
2.- Type / Search for "Package Control: Install Package"
3.- Type "CodeIgniter 2 Controller/Model/CRUD Model Templates" to install it.

If you wish to install manually, without Package control, you need to clone this repository into your packages folder:

git clone https://github.com/todorowww/st2-snippet-ci2-mc.git

After installation, you can simply type one of these, and follow them with a press to TAB key:

ci2c  - to create CodeIgniter 2 Controller
ci2m  - to create CodeIgniter 2 Model (base, empty, just a wrapper)
ci2me - to create Codeigniter 2 Model (extended, with CRUD methods)