Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes
ATReferenceBrowserWidget.ATRefBrowserDemo.ATRefBrowserDemo Class Reference
Inheritance diagram for ATReferenceBrowserWidget.ATRefBrowserDemo.ATRefBrowserDemo:
Inheritance graph
[legend]
Collaboration diagram for ATReferenceBrowserWidget.ATRefBrowserDemo.ATRefBrowserDemo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def dynamicBaseQuery

Static Public Attributes

string content_icon = "document_icon.gif"
 schema = schema

Detailed Description

Demo from ATReferenceBrowserWidget

Definition at line 54 of file ATRefBrowserDemo.py.


Member Function Documentation

This example function generates a base query which ensures that only
objects whose start property is within one week of the current day

Definition at line 60 of file ATRefBrowserDemo.py.

00060 
00061     def dynamicBaseQuery(self):
00062         """This example function generates a base query which ensures that only
00063         objects whose start property is within one week of the current day"""
00064         return {'start': {'query':[DateTime()-7,DateTime()+7], 'range':'minmax'}}
00065     
00066 
00067 registerType(ATRefBrowserDemo, PROJECTNAME)

Here is the call graph for this function:


Member Data Documentation

Definition at line 58 of file ATRefBrowserDemo.py.

Definition at line 59 of file ATRefBrowserDemo.py.


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