wiki:PloneSMS/PloneSMSCommunicator/ExtensionClass.ExtensionClass-class.html

ExtensionClass?.ExtensionClass?

Module ExtensionClass :: Class ExtensionClass

Type ExtensionClass


ExtensionClass


Method Summary
  __init__(...)
  __call__(...)
"call as a function"
  __delattr__(...)
"Delete an attribute"
  __getattr__(...)
"Get an attribute"
  __setattr__(...)
"Set an attribute"
  inheritedAttribute(class, name)
Get an attribute that would be inherited if the given (extension) class did not define it.

Method Details

__call__(...)
(Call operator)

"call as a function"

__delattr__(...)

"Delete an attribute"

__getattr__(...)
(Qualification operator)

"Get an attribute"

__setattr__(...)

"Set an attribute"

inheritedAttribute(class, name)

Get an attribute that would be inherited if the given (extension) class did not define it. This method is used when overriding inherited methods. It provides 2 advantages over accessing

attributes directly through a superclass:

  1. The superclass need not be known,
  2. The superclass may be a Python class. Without this method, it would be possible to override methods inherited from python classes because unbound methods gotten from Python classes cannot be called with extension class instances.

Generated by Epydoc 2.1 on Fri Dec 23 14:45:44 2005 http://epydoc.sf.net
Last modified 18 years ago Last modified on Dec 23, 2005 2:55:32 PM