|
dolibarr
x.y.z
|
Class with cron tasks of Partnership module. More...
Public Member Functions | |
| __construct ($db) | |
| Constructor. More... | |
| doCancelStatusOfMemberPartnership () | |
| Action executed by scheduler to cancel status of partnership when subscription is expired + x days. More... | |
| doWarningOfPartnershipIfDolibarrBacklinkNotfound () | |
| Action executed by scheduler to check if Dolibarr backlink not found on partner website. More... | |
Public Attributes | |
| $db | |
| To store db handler. | |
| $error | |
| To return error code (or message) | |
| $errors = array() | |
| To return several error codes (or messages) | |
Private Member Functions | |
| checkDolibarrBacklink ($website=null) | |
| Action to check if Dolibarr backlink not found on partner website. More... | |
Class with cron tasks of Partnership module.
Definition at line 38 of file partnershiputils.class.php.
| PartnershipUtils::__construct | ( | $db | ) |
Constructor.
| DoliDb | $db | Database handler |
Definition at line 52 of file partnershiputils.class.php.
|
private |
Action to check if Dolibarr backlink not found on partner website.
| string | $website | Partner's website URL |
Definition at line 401 of file partnershiputils.class.php.
| PartnershipUtils::doCancelStatusOfMemberPartnership | ( | ) |
Action executed by scheduler to cancel status of partnership when subscription is expired + x days.
(Max number of action batch per call = $conf->global->PARTNERSHIP_MAX_EXPIRATION_CANCEL_PER_CALL)
CAN BE A CRON TASK
Definition at line 65 of file partnershiputils.class.php.
| PartnershipUtils::doWarningOfPartnershipIfDolibarrBacklinkNotfound | ( | ) |
Action executed by scheduler to check if Dolibarr backlink not found on partner website.
(Max number of action batch per call = $conf->global->PARTNERSHIP_MAX_WARNING_BACKLINK_PER_CALL)
CAN BE A CRON TASK
Definition at line 220 of file partnershiputils.class.php.