Свойство | Type | Description | |
---|---|---|---|
$dirty | boolean | ||
$jobs | MC4WP_Queue_Job[] | ||
$option_name | string |
Méthode | Description | |
---|---|---|
__construct ( string $option_name ) | MC4WP_Ecommerce_Queue constructor. | |
all ( ) : MC4WP_Queue_Job[] | Get all jobs in the queue | |
delete ( MC4WP_Queue_Job $job ) | ||
get ( ) : MC4WP_Queue_Job | false | Get all jobs in the queue | |
put ( mixed $data ) : boolean | Add job to queue | |
reschedule ( MC4WP_Queue_Job $job ) | ||
reset ( ) | Reset queue | |
save ( ) | Save the queue |
Méthode | Description | |
---|---|---|
load ( ) | Load jobs from option |
public __construct ( string $option_name ) | ||
$option_name | string |
public all ( ) : MC4WP_Queue_Job[] | ||
Résultat | MC4WP_Queue_Job[] | Array of jobs |
public get ( ) : MC4WP_Queue_Job | false | ||
Résultat | MC4WP_Queue_Job | false |