dolibarr 21.0.0-alpha
DataPolicyCron Class Reference

Class DataPolicyCron. More...

Public Member Functions

 __construct (DoliDB $db)
 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)


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.

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: