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

/cacheManagement/examples/util/Component.cfc

http://coldfusioncachemanager.googlecode.com/
ColdFusion CFScript | 34 lines | 25 code | 9 blank | 0 comment | 0 complexity | 3d36be89537fdc558109fb8d73849d7e MD5 | raw file
 1<cfcomponent output="false">
 2	
 3	<cfset this.name = "" />
 4	
 5	<cffunction name="init" access="public" output="false" returntype="Component">
 6        <cfset var i = "" />
 7        <cfloop collection="#arguments#" item="i">
 8        
 9            <cfset this[ i ] = arguments[ i ] />
10        
11        </cfloop>
12		<cfreturn this />
13	</cffunction>
14	
15	<cffunction name="add" access="public" output="false" returntype="void">
16		<cfargument name="component" type="Component" required="true" />
17		<cfabort showerror="Abstract Method !" />
18	</cffunction>
19	
20	<cffunction name="remove" access="public" output="false" returntype="void">
21		<cfargument name="component" type="Component" required="true" />
22		<cfabort showerror="Abstract Method !" />
23	</cffunction>
24	
25	<cffunction name="getChild" access="public" output="false" returntype="Component">
26		<cfargument name="index" type="numeric" required="true" />
27		<cfabort showerror="Abstract Method !" />
28	</cffunction>
29	
30	<cffunction name="describe" access="public" output="false" returntype="void">
31		<cfabort showerror="Abstract Method !" />
32	</cffunction>
33
34</cfcomponent>