Sublime Text 2/3 Snippets for CodeIgniter
Click on Download ZIP in the right side and save the file on the your Sublime Text Package Folder that you can access by Preferences -> Browse Packages or going directly to C:\Users\username\AppData\Roaming\Sublime Text 3\Packages\User
.
After that, extract the file and be happy coding with CodeIgniter!
Snippet Name | Tab Trigger | Description |
---|---|---|
CodeIgniter Controller | ci_controller | Generates a basic CodeIgniter controller. |
CodeIgniter Database Delete Query | ci_db_delete | Generates a delete SQL string and runs the query. |
CodeIgniter Database Get Query | ci_db_get | Generates a select SQL string and runs the query. |
CodeIgniter Database Get Where Query | ci_db_get_where | Generates a select where SQL string and runs the query. |
CodeIgniter Database Insert Query | ci_db_insert | Generates an insert string based on the data you supply, and runs the query. |
CodeIgniter Database Update Query | ci_db_update | Generates an update string and runs the query based on the data you supply. |
CodeIgniter Database Where Query | ci_db_where | This snippet enables you to set WHERE clauses. |
CodeIgniter Model | ci_model | Generates a basic CodeIgniter model. |
Table generated with http://www.tablesgenerator.com/markdown_tables