A list of codeigniter snippets for Sublime Text 2
Switch branches/tags
Nothing to show
Pull request Compare This branch is 8 commits ahead, 149 commits behind mpmont:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
messages
README.md
anchor.sublime-snippet
calendar.sublime-snippet
cart_add.sublime-snippet
cart_update.sublime-snippet
ci_404.sublime-snippet
ci_denied.sublime-snippet
ci_load_helper.sublime-snippet
ci_load_library.sublime-snippet
ci_load_model.sublime-snippet
ci_redirect.sublime-snippet
ci_routes.sublime-snippet
ci_start.sublime-snippet
ci_view.sublime-snippet
construct.sublime-snippet
controller.sublime-snippet
crud.sublime-snippet
display_cart.sublime-snippet
email.sublime-snippet
form_checkbox.sublime-snippet
form_dropdown.sublime-snippet
form_hidden.sublime-snippet
form_input.sublime-snippet
form_label.sublime-snippet
form_open.sublime-snippet
form_password.sublime-snippet
form_submit.sublime-snippet
form_textarea.sublime-snippet
form_upload.sublime-snippet
form_validation.sublime-snippet
generate_table.sublime-snippet
load_helper.sublime-snippet
load_library.sublime-snippet
load_model.sublime-snippet
messages.json
model.sublime-snippet
package-metadata.json
pagination.sublime-snippet
upload.sublime-snippet
view.sublime-snippet

README.md

This is a Sublime Text package which includes a bunch of handy snippets for doing Codeigniter framework development.

Installation

With Package Control

If you have the Package Control package installed, you can install Codeigniter framework Snippets from inside Sublime Text itself. Open the Command Palette and select "Package Control: Install Package", then search for Codeigniter framework Snippets.

Without Package Control

If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder, like so:

git clone https://github.com/mpmont/ci-snippets.git ci-snippets

If you find error or wathever just fork it and send me a pull request.

Included Snippets

List of included snippets. Format: name tabtrigger

library Functions

  • anchor anchor
  • calendar calendar
  • cart_add cart_add
  • cart_update cart_update
  • display_cart display_cart
  • ci_404 ci_403
  • ci_denied ci_denied
  • ci_load_helper ci_load
  • ci_load_library ci_load
  • ci_load_model ci_load
  • ci_redirect ci_redirect
  • ci_routes ci_route
  • ci_start ci_start
  • email email
  • pagination pagination
  • upload upload

Helper functions

Form helper

  • form_checkbox form_checkbox
  • form_dropdown form_dropdown
  • form_hidden form_hidden
  • form_input form_input
  • form_label form_label
  • form_open form_open
  • form_password form_password
  • form_submit form_submit
  • form_textarea form_textarea
  • form_upload form_upload
  • form_validation form_validation

Driver functions

Misc

  • construct construct
  • generate table generate_table
  • model ci_model
  • crud crud
  • controller ci_controller
  • ci_view ci_view