335e92c9b8ff54db90811956209eee2f36474a6b

Author: Joel Perras

Date: 2009-01-08 23:21:54 -0500

Adding SessionComponent snippets.

diff --git a/Snippets/$this->Session->check('Message_flash').tmSnippet b/Snippets/$this->Session->check('Message_flash').tmSnippet new file mode 100644 index 0000000..03eeaec --- /dev/null +++ b/Snippets/$this->Session->check('Message_flash').tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;check('${1:Message}.${2:flash}'); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;check('Message.flash')</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>scheck</string> + <key>uuid</key> + <string>40102910-E368-4FB0-B07A-C33A2CAB10B4</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->check().tmSnippet b/Snippets/$this->Session->check().tmSnippet new file mode 100644 index 0000000..cac75e3 --- /dev/null +++ b/Snippets/$this->Session->check().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;check('${1:Controller}.${2:key}'); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;check()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>scheck</string> + <key>uuid</key> + <string>F082AA49-1859-496B-904C-8B718078F0FA</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->del().tmSnippet b/Snippets/$this->Session->del().tmSnippet new file mode 100644 index 0000000..4736b27 --- /dev/null +++ b/Snippets/$this->Session->del().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;del('${1:Controller}.${2:key}'); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;del()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>sdel</string> + <key>uuid</key> + <string>412CA9C5-918E-491A-A210-9E0E47CD67CA</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->destroy().tmSnippet b/Snippets/$this->Session->destroy().tmSnippet new file mode 100644 index 0000000..79338ba --- /dev/null +++ b/Snippets/$this->Session->destroy().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;destroy(); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;destroy()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>sdes</string> + <key>uuid</key> + <string>C299CBD6-1253-4074-8BB1-7BD091B22DCF</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->error().tmSnippet b/Snippets/$this->Session->error().tmSnippet new file mode 100644 index 0000000..19790fe --- /dev/null +++ b/Snippets/$this->Session->error().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;error(); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;error()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>serr</string> + <key>uuid</key> + <string>2D84E825-8774-4B29-882C-A2E8DCB1C127</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->id().tmSnippet b/Snippets/$this->Session->id().tmSnippet new file mode 100644 index 0000000..586e956 --- /dev/null +++ b/Snippets/$this->Session->id().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;id(); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;id()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>sid</string> + <key>uuid</key> + <string>C466A6D7-A1B1-4EF6-A717-430AA8CD29EA</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->read().tmSnippet b/Snippets/$this->Session->read().tmSnippet new file mode 100644 index 0000000..9b81579 --- /dev/null +++ b/Snippets/$this->Session->read().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;read('${1:Controller}.${2:key}'); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;read()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>sread</string> + <key>uuid</key> + <string>48B89126-C7C9-4EAF-8118-D978A7141DDC</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->restore().tmSnippet b/Snippets/$this->Session->restore().tmSnippet new file mode 100644 index 0000000..9c78fc0 --- /dev/null +++ b/Snippets/$this->Session->restore().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;restore(); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;restore()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>sres</string> + <key>uuid</key> + <string>9DC4A8A4-317E-4F3F-BE66-3BAA479EC11E</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->setFlash().tmSnippet b/Snippets/$this->Session->setFlash().tmSnippet new file mode 100644 index 0000000..727365a --- /dev/null +++ b/Snippets/$this->Session->setFlash().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;setFlash(${1:'${2:Message}'}$3); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;setFlash()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>sflash</string> + <key>uuid</key> + <string>269247B5-C5AC-4B34-9F69-DAD5EBBD446C</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->valid().tmSnippet b/Snippets/$this->Session->valid().tmSnippet new file mode 100644 index 0000000..8b543e0 --- /dev/null +++ b/Snippets/$this->Session->valid().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;valid(); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;valid()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>svalid</string> + <key>uuid</key> + <string>EA79FA43-80A2-4C7B-ABD9-40A8BA8D4F58</string> +</dict> +</plist> diff --git a/Snippets/$this->Session->write().tmSnippet b/Snippets/$this->Session->write().tmSnippet new file mode 100644 index 0000000..d408ad1 --- /dev/null +++ b/Snippets/$this->Session->write().tmSnippet @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>content</key> + <string>\$this-&gt;Session-&gt;write('${1:Controller}.${2:key}', '${3:value}'); +$0</string> + <key>name</key> + <string>$this-&gt;Session-&gt;write()</string> + <key>scope</key> + <string>source.php.cake</string> + <key>tabTrigger</key> + <string>swrite</string> + <key>uuid</key> + <string>598B0078-1D6D-428D-BBB0-4E7617008B9E</string> +</dict> +</plist> diff --git a/info.plist b/info.plist index c953f4d..546d831 100644 --- a/info.plist +++ b/info.plist @@ -61,6 +61,7 @@ <dict> <key>items</key> <array> + <string>EE053494-C470-4D0B-8FBA-548BDD59705A</string> <string>9D47CB07-6C99-41E0-A098-4521E51A411D</string> <string>D11B464A-42FB-41D3-A40B-A75F7FD70B7D</string> <string>2945B997-2C19-449F-A500-6B8B34A2ADEF</string> @@ -138,6 +139,25 @@ <key>name</key> <string>Helpers</string> </dict> + <key>5919812E-4F52-4255-A8B5-BF1C585DC56A</key> + <dict> + <key>items</key> + <array> + <string>F082AA49-1859-496B-904C-8B718078F0FA</string> + <string>40102910-E368-4FB0-B07A-C33A2CAB10B4</string> + <string>48B89126-C7C9-4EAF-8118-D978A7141DDC</string> + <string>412CA9C5-918E-491A-A210-9E0E47CD67CA</string> + <string>C299CBD6-1253-4074-8BB1-7BD091B22DCF</string> + <string>598B0078-1D6D-428D-BBB0-4E7617008B9E</string> + <string>2D84E825-8774-4B29-882C-A2E8DCB1C127</string> + <string>EA79FA43-80A2-4C7B-ABD9-40A8BA8D4F58</string> + <string>9DC4A8A4-317E-4F3F-BE66-3BAA479EC11E</string> + <string>C466A6D7-A1B1-4EF6-A717-430AA8CD29EA</string> + <string>269247B5-C5AC-4B34-9F69-DAD5EBBD446C</string> + </array> + <key>name</key> + <string>Session</string> + </dict> <key>8D87D737-53A1-4644-A92D-F8CBB744E70D</key> <dict> <key>items</key> @@ -210,6 +230,15 @@ <key>name</key> <string>Declarations</string> </dict> + <key>EE053494-C470-4D0B-8FBA-548BDD59705A</key> + <dict> + <key>items</key> + <array> + <string>5919812E-4F52-4255-A8B5-BF1C585DC56A</string> + </array> + <key>name</key> + <string>Components</string> + </dict> </dict> </dict> <key>name</key> @@ -274,6 +303,17 @@ <string>E92E5F5B-B9B0-49CB-825E-8A7B9B68B1F2</string> <string>F213051B-2625-4270-A05A-1E5E45FA3C5C</string> <string>EBB8D77D-567A-4B23-B224-7FAFFCCE00FB</string> + <string>F082AA49-1859-496B-904C-8B718078F0FA</string> + <string>40102910-E368-4FB0-B07A-C33A2CAB10B4</string> + <string>48B89126-C7C9-4EAF-8118-D978A7141DDC</string> + <string>412CA9C5-918E-491A-A210-9E0E47CD67CA</string> + <string>C299CBD6-1253-4074-8BB1-7BD091B22DCF</string> + <string>598B0078-1D6D-428D-BBB0-4E7617008B9E</string> + <string>2D84E825-8774-4B29-882C-A2E8DCB1C127</string> + <string>EA79FA43-80A2-4C7B-ABD9-40A8BA8D4F58</string> + <string>9DC4A8A4-317E-4F3F-BE66-3BAA479EC11E</string> + <string>C466A6D7-A1B1-4EF6-A717-430AA8CD29EA</string> + <string>269247B5-C5AC-4B34-9F69-DAD5EBBD446C</string> <string>D11B464A-42FB-41D3-A40B-A75F7FD70B7D</string> <string>ADDD23F4-71AA-412C-8D9D-D15E4CF67839</string> <string>9DC30C4D-88A1-4702-802A-34680029D03B</string>