PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/snippets/Taffy/Representation-script.xml

http://github.com/atuttle/Taffy
XML | 18 lines | 16 code | 2 blank | 0 comment | 0 complexity | 5b9c746df1516242836afe5fdfe9d132 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<snippet filetemplate="false" extension="">
 3<name>Representation-script</name>
 4<help>Creates a Taffy Custom Representation CFC using cfscript syntax</help>
 5<starttext><![CDATA[component extends="taffy.core.baseRepresentation"
 6{
 7	
 8	public string function getAs]]></starttext>
 9<endtext><![CDATA[()
10	output="false"
11	taffy_mime=""
12	taffy_default=""
13	{
14		return serializeToMyCustomFormat(variables.data);
15	} 
16
17}]]></endtext>
18</snippet>