Dotclear 2.24
Loading...
Searching...
No Matches
dcMaintenanceLogs Class Reference
Inheritance diagram for dcMaintenanceLogs:
dcMaintenanceTask

Public Member Functions

 execute ()
 
- Public Member Functions inherited from dcMaintenanceTask
 __construct (dcMaintenance $maintenance)
 
 perm ()
 
 blog ()
 
 code ($code)
 
 ts ()
 
 expired ()
 
 id ()
 
 name ()
 
 description ()
 
 tab ()
 
 group ()
 
 ajax ()
 
 task ()
 
 step ()
 
 success ()
 
 error ()
 
 header ()
 
 content ()
 
 execute ()
 
 help ()
 

Static Public Attributes

static $keep_maintenance_logs = true
 

Protected Member Functions

 init ()
 
- Protected Member Functions inherited from dcMaintenanceTask
 init ()
 
 log ()
 

Protected Attributes

 $group = 'purge'
 
- Protected Attributes inherited from dcMaintenanceTask
 $maintenance
 
 $code
 
 $ts = 0
 
 $expired = 0
 
 $ajax = false
 
 $blog = false
 
 $perm = null
 
 $id
 
 $name
 
 $description
 
 $tab = 'maintenance'
 
 $group = 'other'
 
 $task
 
 $step
 
 $error
 
 $success
 

Member Function Documentation

◆ init()

init ( )
protected

◆ execute()

execute ( )

Execute task.

Returns
bool|int
  • FALSE on error,
  • TRUE if task is finished
  • INT if task required a next step

Reimplemented from dcMaintenanceTask.

References $keep_maintenance_logs, dcCore\app(), and dcLog\LOG_TABLE_NAME.

Field Documentation

◆ $keep_maintenance_logs

$keep_maintenance_logs = true
static

Referenced by execute().

◆ $group

$group = 'purge'
protected

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