Back to index

plone3  3.1.7
Public Member Functions
ResourceRegistries.browser.kss.KSSView Class Reference
Inheritance diagram for ResourceRegistries.browser.kss.KSSView:
Inheritance graph
[legend]
Collaboration diagram for ResourceRegistries.browser.kss.KSSView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def registry
def skinname
def kineticstylesheets

Detailed Description

Information for kss rendering. 

Definition at line 8 of file kss.py.


Member Function Documentation

Definition at line 17 of file kss.py.

00017 
00018     def kineticstylesheets(self):
00019         registry = self.registry()
00020         registry_url = registry.absolute_url()
00021 
00022         kineticstylesheets = registry.getEvaluatedResources(self.context)
00023         skinname = url_quote(self.skinname())
00024         result = []
00025         for kss in kineticstylesheets:
00026             src = "%s/%s/%s" % (registry_url, skinname, kss.getId())
00027             data = {'src': src}
00028             result.append(data)
00029         return result

Here is the call graph for this function:

Definition at line 11 of file kss.py.

00011 
00012     def registry(self):
00013         return getToolByName(aq_inner(self.context), 'portal_kss')

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 14 of file kss.py.

00014 
00015     def skinname(self):
00016         return self.context.getCurrentSkinName()

Here is the caller graph for this function:


The documentation for this class was generated from the following file: