This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component { | |
function init(required query data){ | |
setQuery(arguments.data); | |
return this; | |
} | |
/* ---------------------------- PUBLIC ---------------------------- */ | |
/* --- Iterator methods ---------------------------- */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
component name="Actor REST Endpoint" accessors="true" output="false" { | |
// FW/1 will use its dependency injection framework (DI/1) to find and | |
// inject the components defined below as properties | |
property fw; | |
property actorService; | |
property movieToActorService; | |
public void function default( rc ){ | |
var q = actorService.getAll(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
add = function( x, y ) { return x + y; }; | |
</cfscript> |
OlderNewer