Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added new propel bundle

git-svn-id: http://svn.textmate.org/trunk/Bundles/Propel.tmbundle@2652 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
  • Loading branch information...
commit 099fe2c49861472641cb5d709cb9232af53e9bc5 0 parents
@fabpot fabpot authored
17 Snippets/xml - column.plist
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;column name="${1:name}" type="${2:type}" /&gt;
+</string>
+ <key>name</key>
+ <string>xml - column</string>
+ <key>scope</key>
+ <string>text.xml</string>
+ <key>tabTrigger</key>
+ <string>&lt;c</string>
+ <key>uuid</key>
+ <string>8A4ECDB9-F980-4CDE-B098-1ADA7B3C1928</string>
+</dict>
+</plist>
19 Snippets/xml - foreign key.plist
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;foreign-key foreignTable="${1:table}"&gt;
+ &lt;reference local="${1:table}_id" foreign="id"/&gt;
+&lt;/foreign-key&gt;
+</string>
+ <key>name</key>
+ <string>xml - foreign key</string>
+ <key>scope</key>
+ <string>text.xml</string>
+ <key>tabTrigger</key>
+ <string>&lt;f</string>
+ <key>uuid</key>
+ <string>961E053E-5A74-4959-A303-D3B6A4FC247C</string>
+</dict>
+</plist>
19 Snippets/xml - index.plist
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;index name="${1:key}_index"&gt;
+ &lt;index-column name="$1" /&gt;
+&lt;/index&gt;
+</string>
+ <key>name</key>
+ <string>xml - index</string>
+ <key>scope</key>
+ <string>text.xml</string>
+ <key>tabTrigger</key>
+ <string>&lt;i</string>
+ <key>uuid</key>
+ <string>09EF9AD8-F6B8-4C66-BBD0-F8E1CC6AC97F</string>
+</dict>
+</plist>
17 Snippets/xml - primary key.plist
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;column name="${1:id}" type="${2:integer}" required="true" primaryKey="true" autoincrement="true" /&gt;
+</string>
+ <key>name</key>
+ <string>xml - primary key</string>
+ <key>scope</key>
+ <string>text.xml</string>
+ <key>tabTrigger</key>
+ <string>&lt;p</string>
+ <key>uuid</key>
+ <string>251F74BF-A606-4F1E-847F-EAB5CFF99954</string>
+</dict>
+</plist>
19 Snippets/xml - table.plist
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>content</key>
+ <string>&lt;table name="${1:name}" phpName="${2:php_name}"&gt;
+ $0
+&lt;/table&gt;
+</string>
+ <key>name</key>
+ <string>xml - table</string>
+ <key>scope</key>
+ <string>text.xml</string>
+ <key>tabTrigger</key>
+ <string>&lt;t</string>
+ <key>uuid</key>
+ <string>BCE8C7F8-DFE0-4AEC-916C-E7541F2AC677</string>
+</dict>
+</plist>
18 info.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>name</key>
+ <string>Propel</string>
+ <key>ordering</key>
+ <array>
+ <string>8A4ECDB9-F980-4CDE-B098-1ADA7B3C1928</string>
+ <string>961E053E-5A74-4959-A303-D3B6A4FC247C</string>
+ <string>BCE8C7F8-DFE0-4AEC-916C-E7541F2AC677</string>
+ <string>251F74BF-A606-4F1E-847F-EAB5CFF99954</string>
+ <string>09EF9AD8-F6B8-4C66-BBD0-F8E1CC6AC97F</string>
+ </array>
+ <key>uuid</key>
+ <string>0F9F8B28-1E5D-4856-B5F2-34127A4A908A</string>
+</dict>
+</plist>
Please sign in to comment.
Something went wrong with that request. Please try again.