dolibarr  16.0.4
Public Member Functions | List of all members
DataPolicyCron Class Reference

Class DataPolicyCron. More...

Public Member Functions

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

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 35 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 47 of file datapolicycron.class.php.


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