Package oort :: Module sitebase :: Class MultiBaseResourceViewer
[hide private]
[frames] | no frames]

Class MultiBaseResourceViewer

source code

        object --+    
ResourceViewerBase --+

Use for full-fledged apps where many different base URIs will be "mounted" at different named bases (done with the dictionary resourceBases).

Nested Classes [hide private]

Inherited from ResourceViewerBase: __metaclass__

Instance Methods [hide private]
resource_from(self, pathArgs) source code
resource_to_app_path(self, resource) source code
super(type, obj) -> bound super object; requires isinstance(obj, type)...
source code

Inherited from ResourceViewerBase: __call__, __init__, app_url_for, prepared_display

Inherited from ResourceViewerBase (private): _default_redirect

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from ResourceViewerBase: app_factory

Class Variables [hide private]
  resourceBases = {}
  defaultResource = ''

Inherited from ResourceViewerBase: RESOURCE_QUERY_KEY, VARIANT_SEP, defaultDisplay, displayClasses, langOrder

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

resource_from(self, pathArgs)

source code 
Overrides: ResourceViewerBase.resource_from

resource_to_app_path(self, resource)

source code 
Overrides: ResourceViewerBase.resource_to_app_path


source code 
super(type, obj) -> bound super object; requires isinstance(obj, type)
super(type, type2) -> bound super object; requires issubclass(type2, type)
Typical use to call a cooperative superclass method:
class C(B):
    def meth(self, arg):
        super(C, self).meth(arg)

unbound super object