Ticket #42 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

custom plugins

Reported by: luis Assigned to: luis
Priority: normal Milestone: 1.1.0
Component: Base Component - Plugin Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

Introduce the enhancement of coldbox by using custom created plugins by developers. You will be able to use the plugins via a getmyplugin("name") method or a getplugin("name") method. The location of the custom plugins will be in the config.xml.cfm

<Setting name="CustomPluginsLocation" value="mymapping.plugins" />

The value of the CustomPluginsLocation? is the base path of the plugins location, this has to be accessible like if you would instantiate a plugin using createobject.

Change History

08/03/06 13:28:54 changed by luis

  • status changed from new to assigned.
  • component changed from General to Plugins.

08/17/06 06:52:51 changed by luis

  • status changed from assigned to closed.
  • resolution set to fixed.

completed:

You now can use getMyPlugin("pluginname")

In the config.xml you have to define the CustomPluginsLocation?, this has to be in dot notation and has to be the base path of the location. This dot notation will be used to instantiate the custom plugin.


Copyright 2006 ColdBox Framework by Luis Majano