dolibarr 18.0.6
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 40 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 52 of file datapolicycron.class.php.

References getDolGlobalInt().


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