/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. <cfset this.name = "" />
  3. <cffunction name="init" access="public" output="false" returntype="Component">
  4. <cfset var i = "" />
  5. <cfloop collection="#arguments#" item="i">
  6. <cfset this[ i ] = arguments[ i ] />
  7. </cfloop>
  8. <cfreturn this />
  9. </cffunction>
  10. <cffunction name="add" access="public" output="false" returntype="void">
  11. <cfargument name="component" type="Component" required="true" />
  12. <cfabort showerror="Abstract Method !" />
  13. </cffunction>
  14. <cffunction name="remove" access="public" output="false" returntype="void">
  15. <cfargument name="component" type="Component" required="true" />
  16. <cfabort showerror="Abstract Method !" />
  17. </cffunction>
  18. <cffunction name="getChild" access="public" output="false" returntype="Component">
  19. <cfargument name="index" type="numeric" required="true" />
  20. <cfabort showerror="Abstract Method !" />
  21. </cffunction>
  22. <cffunction name="describe" access="public" output="false" returntype="void">
  23. <cfabort showerror="Abstract Method !" />
  24. </cffunction>
  25. </cfcomponent>