ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Code​Igniter 4 Snippets

by mpmont ALL

Codeigniter 4 snippets for Sublime Text 3

Labels snippets

Details

Installs

  • Total 286
  • Win 247
  • Mac 15
  • Linux 24
Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 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 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20
Windows 10 16 11 13 12 7 10 13 15 11 21 13 16 19 14 14 20 18 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 3 0 2 2 1 2 1 1 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 2 1 1 1 1 1 1 0 0 2 2 1 6 2 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Codeigniter 4 Snippets for Sublime Text 2/3

Codeigniter

This is a Sublime Text package which includes a bunch of handy snippets for doing Codeigniter 4 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 4 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/ci4-snippets ci4-snippets

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

Avaiable snippets

Command Description
ci_model Model namespace
ci_controller Controller namespace
ci_load_helper Load helper sintax
ci_view Echo CI view
ci_new_renderer New View Renderer
ci_render_section =ci_log Logging information> Render section view
ci_extend_layout Extend layout (insert view into a layout)
ci_view_section View section (content within a view that extends a layout)
ci_view_include View include
ci_get_locale Get Locale
load_database Load the Database
ci_db_query Query
ci_query_result Get the query result as object
ci_query_result_array Get the query result as array
ci_query_row Get the query result as row (object)
ci_query_row_array Get the query result as row (array)
ci_addroute Add Route
ci_addrouteclosure Add Route With Closure
ci_anchor Anchor Link
ci_getCookie Return any data from $_COOKIE
ci_getGet Return any data from $_GET
ci_getPost Return any data from $_POST
ci_getServer Return any data from $_SERVER
ci_getVar Return any data from $_GET, $POST, or $_COOKIE
ci_isajax Check if request is ajax
ci_iscli Check if request is CLI
ci_issecure Check if request is HTTPS
ci_log Logging information

Contributors

Marco Monteiro