Logo Search packages:      
Sourcecode: zope-atrbw version File versions  Download package

def ATReferenceBrowserWidget::ATRefBrowserDemo::ATRefBrowserDemo::dynamicBaseQuery (   self )
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 62 of file ATRefBrowserDemo.py.

                              :
        """This example function generates a base query which ensures that only
        objects whose start property is within one week of the current day"""
        return {'start': {'query':[DateTime()-7,DateTime()+7], 'range':'minmax'}}
    

registerType(ATRefBrowserDemo)

Generated by  Doxygen 1.6.0   Back to index