/snippets/Taffy/Resource-tag.xml
XML | 21 lines | 16 code | 5 blank | 0 comment | 0 complexity | 521ae2c0c80c41cd92d352c9448df655 MD5 | raw file
1<?xml version="1.0" encoding="utf-8"?> 2<snippet filetemplate="false" extension=""> 3<name>Resource-tag</name> 4<help>Creates a Taffy Resource CFC using cfml tags</help> 5<starttext><![CDATA[<cfcomponent extends="taffy.core.resource" taffy:uri="]]></starttext> 6<endtext><![CDATA["> 7 8 <cffunction name="get" output="false" hint="read"> 9 </cffunction> 10 11 <cffunction name="put" output="false" hint="update"> 12 </cffunction> 13 14 <cffunction name="post" output="false" hint="create"> 15 </cffunction> 16 17 <cffunction name="delete" output="false" hint="delete"> 18 </cffunction> 19 20</cfcomponent>]]></endtext> 21</snippet>