Package aquarium :: Package urlscheme :: Module ScriptName :: Class ScriptName
[show private | hide private]
[frames | no frames]

Class ScriptName

AquariumClass --+    
                |    
  QueryParameters --+
                    |
                   ScriptName

Known Subclasses:
RelativeScriptName

This URL scheme is based on SCRIPT_NAME.

This is for when the Web server puts the PATH_INFO-like information in SCRIPT_NAME. This is only possible because it itself knows about Aquarium and acts as the entry point for Aquarium.

See aquarium.urlscheme.UrlSchemeAPI.


Method Summary
  getRootUrl(self, secure)
Figure out the URL for the root of this site.
  screen(self, screen, vars, secure)
Return a dynamic URL for the given screen.
  whichScreen(self)
Which screen does the user want to view?
    Inherited from QueryParameters
  __init__(self, ctx)
Extend __init__ to handle proxying.
  addSid(self, vars)
Add the sid to a given dictionary of vars, if appropriate.
  addVars(self, url, vars)
Add the given vars to the url and return it.
  getDefaultScheme(self)
Return the default scheme, either http:// or https://.
  getPort(self, scheme)
Given a scheme, return the port string, as appropriate.
  getScheme(self, secure)
Return http:// or https://.
  hiddenFormFields(self, screen, vars)
Return necessary hidden form fields.
  img(self, img, secure)
Return an URL to an image.
  static(self, file, secure)
Return an URL for something relative to the root URL.

Method Details

getRootUrl(self, secure=-1)

Figure out the URL for the root of this site.

Overrides:
aquarium.urlscheme.QueryParameters.QueryParameters.getRootUrl

screen(self, screen, vars=None, secure=-1)

Return a dynamic URL for the given screen.

Overrides:
aquarium.urlscheme.QueryParameters.QueryParameters.screen

whichScreen(self)

Which screen does the user want to view?

Overrides:
aquarium.urlscheme.QueryParameters.QueryParameters.whichScreen

Generated by Epydoc 2.1 on Mon Jan 1 16:34:19 2007 http://epydoc.sf.net