Package bw :: Package iris
[frames] | no frames]

Package iris

Submodules

Classes
  App
  SessionProxy
  TreeProxy
Functions
 
findObject(y)
Manage the global connection pool and return the next available proxy object.
 
get_username()
Get the username of the currently logged in user.
 
get_password()
Get the password of the currently logged in user.
 
get_uid()
Get the user_id of the currently logged in user.
 
get_property_for_user(uid, prop)
To get the user's preferences >>> get_property_for_user(uid, "preferences") To get the user's tags >>> get_property_for_user(uid, "tags")
 
require(o, a)
 
json(o)
 
javascript(o)
 
notify(o, image=None)
 
message(o, image=None)
 
reset()
 
alert(o, image="/resources/skins/default/images/alert.gif")
 
error(o, image="/resources/skins/default/images/error.gif")
 
service(verbs)
 
permissions(allow=None, deny=None)
 
main_is_frozen()
Variables
  session = SessionProxy()
  expose = cherrypy.expose
  response = cherrypy.response
  request = cherrypy.request
  root = TreeProxy('root')
  applications = TreeProxy('root')
  HTTPRedirect = cherrypy.HTTPRedirect
  InternalRedirect = cherrypy.InternalRedirect
  PLATFORM_DIR = os.path.dirname(sys.executable)

Imports: os, sys, imp, cherrypy, app, utils, iris, UserError, CerberusError, handle_error


Function Details

findObject(y)

 

Manage the global connection pool and return the next available proxy object. In case nothing is available, create a new connection.

Parameters:
  • y - The name of the proxy