Table of Contents

Module: ExternalMethod Zope-2.2.1-src/lib/python/Products/ExternalMethod/help/ExternalMethod.py

Functions   
manage_addExternalMethod
  manage_addExternalMethod 
manage_addExternalMethod (
        self,
        id,
        title,
        module,
        function,
        )

Add an external method to an ObjectManager.

In addition to the standard object-creation arguments, id and title, the following arguments are defined:

function

The name of the python function. This can be a an ordinary Python function, or a bound method.

module

The name of the file containing the function definition.

The module normally resides in the Extensions directory, however, the file name may have a prefix of product., indicating that it should be found in a product directory.

For example, if the module is: ACMEWidgets.foo, then an attempt will first be made to use the file lib/python/Products/ACMEWidgets/Extensions/foo.py. If this failes, then the file Extensions/ACMEWidgets.foo.py will be used.

Classes   
ExternalMethod

Web-callable functions that encapsulate external python functions.


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6