dolibarr 19.0.4
DataPolicyCron Class Reference

Class DataPolicyCron. More...

Public Member Functions

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

Detailed Description

Class DataPolicyCron.

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

Constructor & Destructor Documentation

◆ __construct()

DataPolicyCron::__construct ( $db)

Constructor.

Parameters
DoliDB$dbDatabase handler

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

Member Function Documentation

◆ cleanDataForDataPolicy()

DataPolicyCron::cleanDataForDataPolicy ( )

Function exec CAN BE A CRON TASK.

Returns
int 0 if OK, <>0 if KO (this function is used also by cron so only 0 is OK)

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

References getDolGlobalInt().


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