dolibarr 20.0.0
DataPolicyCron Class Reference

Class DataPolicyCron. More...

Public Member Functions

 __construct (DoliDB $db)
 Constructor.
 
 cleanDataForDataPolicy ()
 Function exec CAN BE A CRON TASK.
 

Detailed Description

Class DataPolicyCron.

Definition at line 30 of file datapolicycron.class.php.

Constructor & Destructor Documentation

◆ __construct()

DataPolicyCron::__construct ( DoliDB $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

Definition at line 47 of file datapolicycron.class.php.

Member Function Documentation

◆ cleanDataForDataPolicy()

DataPolicyCron::cleanDataForDataPolicy ( )

Function exec CAN BE A CRON TASK.

Returns
int if OK: 0 (this function is used also by cron so only 0 is OK)

Definition at line 59 of file datapolicycron.class.php.

References $object, and getDolGlobalInt().


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