For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

Capability

Load a module, if available, with no warnings if the module is not present.

Synopsis

Capability  type  name

Scope

This directive is only available for use in the global (interchange.cfg) configuration file, and will affect all websites running under the Interchange installation.  It will not work in a website's local (catalog.cfg) configuration file. 

Description

This is just like Require and Suggest, but will never cause a warning nor a message.  You can check for globalsub, sub, taggroup, usertag and module capabilities.

Example

The following would load the Archive::Zip module, if available.  A facility or extension, within Interchange, may check for that capability later and adapt itself accordingly.

Capability  module  Archive::Zip

See also

Category:  Global config directives
Last modified by: Kevin Walsh
Modification date: Monday 30 October 2006 at 12:41 PM (EST)
Home  |  Legal nonsense  |  Privacy policy  |  Donations  |  Contact us