-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
02059ce
commit 1f54b01
Showing
8 changed files
with
77 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{\"rows_views\":[[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"bottom\":10,\"left\":5,\"right\":5}}}]],\"model\":{\"rows\":[[{\"value\":\"Snippet Name\",\"cspan\":1,\"rspan\":1},{\"value\":\"Tab Trigger\",\"cspan\":1,\"rspan\":1},{\"value\":\"Description\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Controller\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_controller\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generate a basic CodeIgniter controller.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Model\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_model\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generate a basic CodeIgniter model.\",\"cspan\":1,\"rspan\":1}]]},\"theme\":null,\"fixed_layout\":false} | ||
{\"rows_views\":[[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}],[{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}},{\"style\":{\"borders\":\"lrtb\",\"font_style\":{},\"text_color\":\"\",\"bg_color\":\"\",\"halign\":\"left\",\"padding\":{\"top\":10,\"right\":5,\"bottom\":10,\"left\":5}}}]],\"model\":{\"rows\":[[{\"value\":\"Snippet Name\",\"cspan\":1,\"rspan\":1},{\"value\":\"Tab Trigger\",\"cspan\":1,\"rspan\":1},{\"value\":\"Description\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Controller\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_controller\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates a basic CodeIgniter controller.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Database Delete Query\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_db_delete\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates a delete SQL string and runs the query.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Database Get Query\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_db_get\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates a select SQL string and runs the query.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Database Get Where Query\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_db_get_where\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates a select where SQL string and runs the query.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Database Insert Query\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_db_insert\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates an insert string based on the data you supply, and runs the query.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Database Update Query\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_db_update\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates an update string and runs the query based on the data you supply.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Database Where Query\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_db_where\",\"cspan\":1,\"rspan\":1},{\"value\":\"This snippet enables you to set WHERE clauses.\",\"cspan\":1,\"rspan\":1}],[{\"value\":\"CodeIgniter Model\",\"cspan\":1,\"rspan\":1},{\"value\":\"ci_model\",\"cspan\":1,\"rspan\":1},{\"value\":\"Generates a basic CodeIgniter model.\",\"cspan\":1,\"rspan\":1}]]},\"theme\":null,\"fixed_layout\":false} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Snippets/CodeIgniter Database Delete Query.sublime-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$this->db->delete('${1:mytable}'${2:, array('${3:id}' => ${4:\$id})})${5:} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<!-- <tabTrigger>hello</tabTrigger> --> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<!-- <scope>source.python</scope> --> | ||
<tabTrigger>ci_db_delete</tabTrigger> | ||
<scope>text.html, source.php</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$this->db->get('${1:mytable}')${2:} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<!-- <tabTrigger>hello</tabTrigger> --> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<!-- <scope>source.python</scope> --> | ||
<tabTrigger>ci_db_get</tabTrigger> | ||
<scope>text.html, source.php</scope> | ||
</snippet> |
11 changes: 11 additions & 0 deletions
11
Snippets/CodeIgniter Database Get Where Query.sublime-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$this->db->get_where('${1:mytable}', array('${2:id}' => ${3:\$id})${4:, \$limit, \$offset})${5:} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<!-- <tabTrigger>hello</tabTrigger> --> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<!-- <scope>source.python</scope> --> | ||
<tabTrigger>ci_db_get_where</tabTrigger> | ||
<scope>text.html, source.php</scope> | ||
</snippet> |
11 changes: 11 additions & 0 deletions
11
Snippets/CodeIgniter Database Insert Query.sublime-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$this->db->insert('${1:mytable}', ${2:array('${3:field}' => ${4:\$value})})${5:} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<!-- <tabTrigger>hello</tabTrigger> --> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<!-- <scope>source.python</scope> --> | ||
<tabTrigger>ci_db_insert</tabTrigger> | ||
<scope>text.html, source.php</scope> | ||
</snippet> |
11 changes: 11 additions & 0 deletions
11
Snippets/CodeIgniter Database Update Query.sublime-snippet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$this->db->update('${1:mytable}', ${2:array('${3:field}' => ${4:\$value})})${5:} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<!-- <tabTrigger>hello</tabTrigger> --> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<!-- <scope>source.python</scope> --> | ||
<tabTrigger>ci_db_update</tabTrigger> | ||
<scope>text.html, source.php</scope> | ||
</snippet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<snippet> | ||
<content><![CDATA[ | ||
\$this->db->where('${1:id}', ${2:\$id})${3:} | ||
]]></content> | ||
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | ||
<!-- <tabTrigger>hello</tabTrigger> --> | ||
<!-- Optional: Set a scope to limit where the snippet will trigger --> | ||
<!-- <scope>source.python</scope> --> | ||
<tabTrigger>ci_db_where</tabTrigger> | ||
<scope>text.html, source.php</scope> | ||
</snippet> |