CORE POS - Fannie
The CORE POS back end
|
Public Member Functions | |
run () | |
Public Member Functions inherited from FannieTask | |
setThreshold ($t) | |
setConfig (FannieConfig $fc) | |
setLogger ($fl) | |
setOptions ($o) | |
setArguments ($a) | |
testMode ($t) | |
run () | |
cronMsg ($str, $severity=6) | |
lazyGetOpt ($argv) | |
Additional Inherited Members | |
Public Attributes inherited from FannieTask | |
$name = 'Fannie Task' | |
$description = 'Information about the task' | |
$default_schedule | |
$schedulable = true | |
$log_start_stop = true | |
const | TASK_NO_ERROR = 0 |
const | TASK_TRIVIAL_ERROR = 1 |
const | TASK_SMALL_ERROR = 2 |
const | TASK_MEDIUM_ERROR = 3 |
const | TASK_LARGE_ERROR = 4 |
const | TASK_WORST_ERROR = 5 |
Protected Attributes inherited from FannieTask | |
$error_threshold = 99 | |
$config = null | |
$logger = null | |
$options = array() | |
$arguments = array() | |
$test_mode = false | |
DeveloperTargetTask::run | ( | ) |
Lookup accounts with activity matching the developer criteria
Enforce rules about account status
If the account is already in the developer program, check whether any coupons have been redeemed. If so, decrement the issued counter and reset the redeemed counter. Issued is not reset so that "issued - redeemed" should always represent the number of outstanding coupons.
Other accounts are simply added to the program.