| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
S3XMLContents
Renderer for db-stored XML contents (e.g. CMS)
Replaces {{page}} expressions inside the contents with local URLs.
{{page}} - gives the URL of the current page
{{name:example}} - gives the URL of the current page with
a query ?name=example (can add any number
of query variables)
{{c:org,f:organisation}} - c and f tokens override controller and
function of the current page, in this
example like /org/organisation
{{args:arg,arg}} - override the current request's URL args
(this should come last in the expression)
{{noargs}} - strip all URL args
@note: does not check permissions for the result URLs
| Instance Methods | |||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
Constructor
|
Replace {{}} expressions with local URLs, with the ability to override controller, function and URL query variables.Called from re.sub.
|
Render the output |
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Mar 15 08:51:51 2019 | http://epydoc.sourceforge.net |