Home | Trees | Index | Help |
|
---|
Package aquarium :: Package util :: Module HasFriends :: Class HasFriends |
|
FormUtil
This mixin supports autoloading of "friend" methods.
That means if you have a class like aquarium.widget.FormUtil, and you try to call a function fooBar on that class, FormUtil (assuming it mixes in this class) will automatically import aquarium.widget.formutil.fooBar (notice that the FormUtil class is automatically associated with the formutil package) and return the fooBar function. fooBar will behave as if it were actually a method inside FormUtil. fooBar should be implemented as a normal method that just happens to receive a FormUtil instance named self as its first argument.
Method Summary | |
---|---|
Return the desired friend method. |
Method Details |
---|
__getattr__(self,
attr)
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jan 1 16:34:19 2007 | http://epydoc.sf.net |