Skip to content

Commit

Permalink
Merge pull request #66 from isu3ru/db-like-snippet
Browse files Browse the repository at this point in the history
Db like snippet
  • Loading branch information
mpmont authored Apr 3, 2017
2 parents d7295ce + 6263192 commit e5e91b8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions db_like.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[
\$this->db->like('${1:Field / comparison}', \$${2:Value}, 'BOTH');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>db_like</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
<description>CI - Active Record DB LIKE</description>
</snippet>
10 changes: 10 additions & 0 deletions db_or_like.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<snippet>
<content><![CDATA[
\$this->db->or_like('${1:Field}', \$${2:Value}, 'BOTH');
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>db_or_like</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>source.php</scope>
<description>CI - Active Record DB OR LIKE</description>
</snippet>

0 comments on commit e5e91b8

Please sign in to comment.