CodeIgniter Snippets
A list of codeigniter 3 snippets for Sublime Text 2/3
Details
Installs
- Total 149K
- Win 112K
- Mac 16K
- Linux 21K
Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 2 | 3 | 0 | 1 | 3 | 1 | 1 | 2 | 2 | 0 | 4 | 5 | 1 | 2 | 1 | 6 | 12 | 5 | 2 | 1 | 0 | 3 | 3 | 1 | 1 | 3 | 0 | 2 | 4 | 2 | 6 | 3 | 3 | 4 | 0 | 4 | 4 | 6 | 1 | 6 | 3 | 2 | 1 | 7 | 4 |
Mac | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 |
Linux | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Codeigniter Snippets
This is a Sublime Text package which includes a bunch of handy snippets for doing Codeigniter framework development.
Easy installation
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.
Manual installation
If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder (Preferences > Browse packages…), 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.
Atom version
If you are looking for the Atom version of this repo, just go here: https://github.com/taiar/atom-ci-snippets/
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
- _redirect
- redirect
- site
- ci_base
Library
- calendar
- cart_add
- cart_update
- display_cart
- flashdata
- set_flashdata
- generate_table
- pagination
- upload
Query Builder (Active Record)
- db_affected
- db_delete
- db_free_result
- db_get
- db_group
- db_insert
- db_insert_id
- db_insertbatch
- db_select
- db_join
- db_last
- db_limit
- db_num_fields
- db_num_rows
- db_order
- db_result
- db_result_array
- db_row
- db_row_array
- db_select
- db_truncate
- db_update
- db_where
Session
- session_userdata
- session_set_userdata
- session_all_userdata
- session_unset_userdata
- session_sess_destroy
Misc
- ci_start
- construct
- controller
- model
- library
- crud
- load_helper
- load_library
- load_model
- load_module
- load_view
- log
- ciline
- eof
- dd
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
- Ernesto Acevedo
- Rodrigo Alves Mesquita