Bricklayer allows any plugin or template tag handler to use other plugins in the application. The plugin can be loaded with the ->load_plugin($name, $type, \@parameters) the name of the plugin is in the same format as you would use in a use statement. plugin subdirectories are denoted with the double ::. Do not include the type or plugin in the name. For example an action plugin located in the subdirectory common of the action directory that was called loggin would have the name common::loggin. The load_plugin method returns the plugin object. All Plugins are cached after their first load so any plugin specific values will be shared amongst all the users. Each Plugin can have as many methods as the author provides. Documenting the Plugins API is up to the author of the plugin.
Jeremy Wall
2006-08-21