/wheels/tests/_plugins/TestAssignMixins/TestAssignMixins.cfc

http://cfwheels.googlecode.com/ · ColdFusion CFScript · 30 lines · 21 code · 9 blank · 0 comment · 0 complexity · 7fe5bbbc78d34d447096461f45ef2755 MD5 · raw file

  1. <cfcomponent>
  2. <cffunction name="init">
  3. <cfset this.version = "99.9.9">
  4. <cfreturn this>
  5. </cffunction>
  6. <cffunction name="$MixinForControllers" mixin="wheelsMapping.Controller" returntype="void">
  7. </cffunction>
  8. <cffunction name="$MixinForModels" mixin="wheelsMapping.Model" returntype="void">
  9. </cffunction>
  10. <cffunction name="$MixinForModelsAndContollers" mixin="wheelsMapping.Model,wheelsMapping.Controller" returntype="void">
  11. </cffunction>
  12. <cffunction name="$MixinForDispatch" mixin="wheels.Dispatch" returntype="void">
  13. </cffunction>
  14. <cffunction name="$MixinForTest" mixin="wheelsMapping.Test" returntype="void">
  15. </cffunction>
  16. <cffunction name="$MixinForWheelsControllerOnly" mixin="controllers.wheels" returntype="void">
  17. </cffunction>
  18. <cffunction name="congratulations" mixin="controllers.Wheels">
  19. <cfreturn structkeyexists(core, "congratulations")>
  20. </cffunction>
  21. </cfcomponent>