Skip to content

Instantly share code, notes, and snippets.

@joebrislin
Created October 1, 2012 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joebrislin/3814952 to your computer and use it in GitHub Desktop.
Save joebrislin/3814952 to your computer and use it in GitHub Desktop.
Script Based CFC Component Level Annotations
/**
* @persistent false
* @extends baseController
* @output false
* @accessors true
*/
component {
property name="foo" type="string";
property name="timestamp" type="datetime";
public securityBean function init(){
variables.foo = "BAR";
variables.timestamp = now();
return this;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment