The Maintenance:: class provides a set of methods for dealing with maintenance operations run upon login to Horde applications.
Copyright 2001-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Maintenance/Maintenance.php (line 80)
Hash holding maintenance preference names.
Syntax: PREFNAME => interval Valid intervals are: MAINTENANCE_YEARLY, MAINTENANCE_MONTHLY, MAINTENANCE_WEEKLY, MAINTENANCE_DAILY, MAINTENANCE_EVERY, MAINTENANCE_FIRST_LOGIN Operations will be run in the order they appear in the array - MAKE SURE FUNCTIONS ARE IN THE CORRECT ORDER! Operations can appear more than once - they will only be run once per login though (the operation will run the first time it is seen in the array).
This array should be filled in for each Horde module that extends the Maintenance class.
UNIX timestamp of the last maintenance run for user.
Array to store Maintenance_Task objects.
The Maintenance_Tasklist object for this login.
Constructor.
Export variable names to use for creating select tables in the preferences menu.
Attempts to return a concrete Maintenance_* object based on the module name passed into it.
Return the URL needed for the maintenance form.
Output hidden for elements for the POST form to ensure the calling script has the same POST elements as when the maintenance operations first run.
Returns the informational text message on what the operation is about to do. Also indicates whether the box should be checked by default or not. Operations that have been locked by the admin will return null.
Do maintenance operations needed for this login.
This function will generate the list of tasks to perform during this login and will redirect to the maintenance page if necessary. This is the function that should be called from the application upon login.
Do the necessary maintenance tasks for this loading of the maintenance page.
This is the function that is called from the maintenance page every time it is loaded.
Documentation generated on Sun, 30 Jan 2011 05:19:26 +0000 by phpDocumentor 1.4.3