|
setWebLoggingStream(stream)
Setup logging to log to a browser using a request object. |
source code
|
|
|
clearWebLoggingStream(handler)
Clear our web logger. |
source code
|
|
|
|
|
travAndColl(obj,
toonerel,
collect,
collectname)
walk a series of to one rels collecting collectname into
collect |
source code
|
|
|
|
|
checkClass(myclass,
className)
perform issubclass using class name as string |
source code
|
|
|
lookupClass(productName,
classname=None)
look in sys.modules for our class |
source code
|
|
|
importClass(modulePath,
classname='
' )
Import a class from the module given. |
source code
|
|
|
cleanstring(value)
take the trailing off the end of a string |
source code
|
|
|
getSubObjects(base,
filter=None,
decend=None,
retobjs=None)
do a depth first search looking for objects that the function
filter returns as true. |
source code
|
|
|
getSubObjectsMemo(base,
filter=None,
decend=None,
memo={ } )
do a depth first search looking for objects that the function
filter returns as true. |
source code
|
|
|
getAllConfmonObjects(base)
get all ZenModelRM objects in database |
source code
|
|
|
zenpathsplit(pathstring)
split a zen path and clean up any blanks or bogus spaces in it |
source code
|
|
|
zenpathjoin(pathar)
build a zenpath in its string form |
source code
|
|
|
OLDgetHierarchyObj(root,
name,
factory,
lastfactory=None,
relpath=None,
lastrelpath=None,
llog=None)
build and return the path to an object based on a hierarchical
name (ex /Mail/Mta) relative to the root passed in. |
source code
|
|
|
createHierarchyObj(root,
name,
factory,
relpath='
' ,
llog=None)
Create a hierarchy object from its path we use relpath to skip
down any missing relations in the path and factory is the constructor
for this object. |
source code
|
|
|
getHierarchyObj(root,
name,
relpath=None)
Return an object using its path relations are optional in the
path. |
source code
|
|
|
basicAuthUrl(username,
password,
url)
add the username and password to a url in the form
http://username:password@host/path |
source code
|
|
|
|
|
|
|
|
|
|
|
localIpCheck(context,
ip)
Test to see if ip it should not be included in the network
map. |
source code
|
|
|
localInterfaceCheck(context,
intname)
Test to see if ips on an in should not be included in the network
map. |
source code
|
|
|
cmpClassNames(obj,
classnames)
Check to see if any of an object's base classes are in a list of
class names. |
source code
|
|
|
resequence(context,
objects,
seqmap,
origseq,
REQUEST) |
source code
|
|
|
|
|
|
|
|
|
|