Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added findByPk

  • Loading branch information...
commit 3e138d8b5e5928eae3fa36788a7556ef5d1db25d 1 parent 73e1ed4
@david-soyez authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 yii-model-findByPk.sublime-snippet
View
6 yii-model-findByPk.sublime-snippet
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[${1:ModelName}::model()->findByPk(${2:pk}, ${3:condition}${4:, array('${5:key}'=>${6:value})})$0]]></content>
+ <tabTrigger>findbp</tabTrigger>
+ <scope>source.php</scope>
+ <description>Yii Model findByPk</description>
+</snippet>
Please sign in to comment.
Something went wrong with that request. Please try again.