Ticket #130 (closed defect: fixed)
GetPlugin - third argument (newInstance) to create and return a new blank instance.
| Reported by: | lmajano | Owned by: | lmajano |
|---|---|---|---|
| Priority: | highest | Milestone: | 2.0.0 |
| Component: | ColdBox Controller | Version: | 2.0.0 RC |
| Severity: | major | Keywords: | |
| Cc: |
Description
The getplugin methods needs a third boolean argument to tell the factory to bring back a new instance of a plugin with no caching or extra config. This will be EXTREMELY useful when trying to re-use plugins with different configurations.
This was a mishap on my part. I forgot to include this ticket and forgot about. Thank God I remembered before the final 2.0.0 release.
<cfargument name="newinstance" type="Boolean" required="false" default="false">
Change History
Note: See
TracTickets for help on using
tickets.
