Skip to content

A list of codeigniter snippets for Sublime Text 2

Notifications You must be signed in to change notification settings

eduardojunio/ci-snippets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 whatever just fork it and send me a pull request.

List of avaiable shortcuts

Class

  • _cookie
  • _get
  • _get_post
  • _post
  • _server
  • set_cookie
  • get_request_header
  • request_headers
  • ip_address
  • valid_ip
  • user_agent
  • is_ajax
  • is_cli
  • fetch_method
  • fetch_class
  • fetch_module
  • output_json
  • set_json
  • th

Helper

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

Library

  • calendar
  • cart_add
  • cart_update
  • display_cart
  • email
  • flashdata
  • set_flashdata
  • generate_table
  • pagination
  • upload

Active Record

  • db_delete
  • db_get
  • db_insert
  • db_select
  • db_update
  • db_where
  • db_last
  • db_order
  • db_result
  • db_result_array
  • db_row
  • db_row_array
  • db_free_result
  • db_num_fields
  • db_num_rows

Session

  • session_userdata
  • session_set_userdata
  • session_all_userdata
  • session_unset_userdata
  • session_sess_destroy

Misc

  • ci_start
  • construct
  • controller
  • model
  • crud
  • load_helper
  • load_library
  • load_model
  • load_view
  • log
  • ciline
  • eof

List of Contributors

  • Marco Monteiro
  • Jesse Robertson
  • Amitava Das Gupta
  • rmclain
  • Tutkun
  • Frank Parent
  • Nicolas Widart
  • Ulises Vázquez Espinoza
  • pauloamc
  • shishir06
  • Deden Fathurahman
  • Shawn Crigger
  • Qcol
  • taiar
  • MetalMatze
  • Blux
  • Luis Leite
  • José Tomás Tocino
  • Marcelo Diniz

Bitdeli Badge

About

A list of codeigniter snippets for Sublime Text 2

Resources

Stars

Watchers

Forks

Packages

No packages published