Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A list of codeigniter snippets for Sublime Text 2

branch: master

Merge pull request #43 from MetalMatze/master

unit_testing_run - with htmlentities.
latest commit d9b15cb4b1
Marco Monteiro authored
Octocat-spinner-32 messages Changed README.md and added again messages\0.0.1.txt October 19, 2012
Octocat-spinner-32 README.md Add session and change README.md December 27, 2012
Octocat-spinner-32 anchor.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 calendar.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 cart_add.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 cart_update.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 ci_start.sublime-snippet Fixing messed line endings (CRLF to LF) October 22, 2012
Octocat-spinner-32 cieof.sublime-snippet Fixing messed line endings (CRLF to LF) October 22, 2012
Octocat-spinner-32 ciline.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 construct.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 controller.sublime-snippet Removed empty line at the end January 16, 2013
Octocat-spinner-32 cookie.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 crud.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_affected.sublime-snippet Added DB Affected Rows October 18, 2012
Octocat-spinner-32 db_delete.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_free_result.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_from.sublime-snippet Added the from function January 17, 2013
Octocat-spinner-32 db_get.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 db_group.sublime-snippet Create db_group.sublime-snippet January 20, 2013
Octocat-spinner-32 db_insert.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_insert_id.sublime-snippet Added last insert id function January 22, 2013
Octocat-spinner-32 db_insertbatch.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_join.sublime-snippet Added the join function January 17, 2013
Octocat-spinner-32 db_last.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_limit.sublime-snippet Create db_limit.sublime-snippet January 20, 2013
Octocat-spinner-32 db_num_fields.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_num_rows.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_order.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_result.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_result_array.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_row.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_row_array.sublime-snippet added query results from DB October 20, 2012
Octocat-spinner-32 db_select.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_truncate.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_update.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 db_where.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 display_cart.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 email.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 fetch_class.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 fetch_method.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 fetch_module.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 flashdata.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 form_checkbox.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_close.sublime-snippet #24 #25 #26 #27 October 18, 2012
Octocat-spinner-32 form_dropdown.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_hidden.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_input.sublime-snippet form_input - setting the attributes as optional variable October 17, 2012
Octocat-spinner-32 form_label.sublime-snippet Reindented form_label October 11, 2012
Octocat-spinner-32 form_open.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_password.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_submit.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_textarea.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_upload.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 form_validation.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 generate_table.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 get.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 get_instance.sublime-snippet #24 #25 #26 #27 October 18, 2012
Octocat-spinner-32 get_post.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 get_request_header.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 ip_address.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 is_ajax.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 is_cli.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 library.sublime-snippet CI - New Library December 16, 2012
Octocat-spinner-32 load_helper.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 load_library.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 load_model.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 load_module.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 load_view.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 log.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 messages.json messages / metadata / log message March 21, 2012
Octocat-spinner-32 migration.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 model.sublime-snippet Removed empty line at the end January 16, 2013
Octocat-spinner-32 output_json.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 output_profiler.sublime-snippet Merge pull request #18 from 'metalmatze/master' September 28, 2012
Octocat-spinner-32 package-metadata.json messages / metadata / log message March 21, 2012
Octocat-spinner-32 pagination.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 post.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 request_headers.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 run_validation.sublime-snippet #24 #25 #26 #27 October 18, 2012
Octocat-spinner-32 server.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 session_all_userdata.sublime-snippet Add session and change README.md December 27, 2012
Octocat-spinner-32 session_sess_destroy.sublime-snippet Add session and change README.md December 27, 2012
Octocat-spinner-32 session_set_userdata.sublime-snippet Update session_set_userdata.sublime-snippet February 25, 2013
Octocat-spinner-32 session_unset_userdata.sublime-snippet Add session and change README.md December 27, 2012
Octocat-spinner-32 session_userdata.sublime-snippet Add session and change README.md December 27, 2012
Octocat-spinner-32 set_cookie.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 set_flashdata.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 set_json.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 unit_testing_run.sublime-snippet htmlentities on result & expected March 21, 2013
Octocat-spinner-32 upload.sublime-snippet indentation changed to tabs for universal use October 11, 2012
Octocat-spinner-32 uri_segment.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 user_agent.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
Octocat-spinner-32 valid_ip.sublime-snippet Issues #24 #25 #26 #27 and completed some snippets with descriptions October 18, 2012
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 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

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
Something went wrong with that request. Please try again.