Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Properties
plone.app.controlpanel.maintenance.MaintenanceControlPanelAdapter Class Reference
Inheritance diagram for plone.app.controlpanel.maintenance.MaintenanceControlPanelAdapter:
Inheritance graph
[legend]
Collaboration diagram for plone.app.controlpanel.maintenance.MaintenanceControlPanelAdapter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def get_days
def set_days

Public Attributes

 context

Properties

 days = property(get_days, set_days)

Detailed Description

Definition at line 38 of file maintenance.py.


Constructor & Destructor Documentation

Definition at line 43 of file maintenance.py.

00043 
00044     def __init__(self, context):
00045         pprop = getToolByName(context, 'portal_properties')
00046         self.context = pprop.site_properties

Here is the call graph for this function:

Here is the caller graph for this function:


Member Function Documentation

Definition at line 47 of file maintenance.py.

00047 
00048     def get_days(self):
00049         return self.context.number_of_days_to_keep

Definition at line 50 of file maintenance.py.

00050 
00051     def set_days(self, value):
00052         if isinstance(value, basestring):
00053             value = int(value)
00054         self.context.number_of_days_to_keep = value


Member Data Documentation

Definition at line 45 of file maintenance.py.


Property Documentation

Definition at line 55 of file maintenance.py.


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