component accessors=true {
property type="array" name="BillingItems";
public function init() {
return this;
}
public any function addBillingItem( required any item ) {
arrayAppend( variables.BillingItems, arguments.item );
}
}
This component lives in the same beans directory I use for all of my ORM stuff.
new generates 'Could not find the ColdFusion component' errors.
entityNew generates 'A CFC with entityname could not be found' errors
If I createObject this component, I get errors about BillingItems existing in variables when I call addBillingItem.
As a note, all of my ORM stuff works fine. I just wanted to make a helper transient this afternoon, and I realized I don't know how.
Help?
Nevermind, got it sorted