PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/snippets/Taffy/Resource-script.xml

http://github.com/atuttle/Taffy
XML | 26 lines | 21 code | 5 blank | 0 comment | 0 complexity | bb9203677668de4f7021905b0e2dc362 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<snippet filetemplate="false" extension="">
 3<name>Resource-script</name>
 4<help>Creates a Taffy Resource CFC using cfscript syntax</help>
 5<starttext><![CDATA[component extends="taffy.core.resource" taffy_uri="]]></starttext>
 6<endtext><![CDATA["
 7{
 8	
 9	public function get() output="false" hint="read"
10	{
11	}
12	
13	public function put() output="false" hint="update"
14	{
15	}
16	
17	public function post() output="false" hint="create"
18	{
19	}
20	
21	public function delete() output="false" hint="delete"
22	{
23	}
24	
25}]]></endtext>
26</snippet>