/snippets/Taffy/Resource-tag.xml

http://github.com/atuttle/Taffy · 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. <cffunction name="get" output="false" hint="read">
  8. </cffunction>
  9. <cffunction name="put" output="false" hint="update">
  10. </cffunction>
  11. <cffunction name="post" output="false" hint="create">
  12. </cffunction>
  13. <cffunction name="delete" output="false" hint="delete">
  14. </cffunction>
  15. </cfcomponent>]]></endtext>
  16. </snippet>