WPDK  1.5.0
WordPress Development Kit
 All Data Structures Files Functions Variables Pages
WPDKCron Class Reference
Inheritance diagram for WPDKCron:
WPDKRecurringCron WPDKSingleCron

Public Member Functions

 __construct ($name, $timestap=false, $recurrence=0)
 Construct. More...
 
 cron ()
 Cron. More...
 
 remove ()
 Remove. More...
 

Data Fields

 $name = ''
 
 $timestamp = 0
 
 $recurrence = 0
 

Detailed Description

Abastract common layer to schedule an event

Author
=undo= info@.nosp@m.wpxt.nosp@m.re.me
Date
2014-02-04
Version
1.0.0
Since
1.4.20

Definition at line 154 of file wpdk-cron.php.

Constructor & Destructor Documentation

__construct (   $name,
  $timestap = false,
  $recurrence = 0 
)

Construct.

Create an instance of WPDKRecurringCron class

Parameters
string$nameUnique cron name
string$timestapOptional. Timestamp for when to run the event.
string$recurrenceOptional. How often the event should recur.
Returns
WPDKRecurringCron

Definition at line 171 of file wpdk-cron.php.

Member Function Documentation

cron ( )

Cron.

Override with your schedule cron process

Definition at line 200 of file wpdk-cron.php.

remove ( )

Remove.

Remove/Unschedule a cron job

Parameters
string$nameUnique cron name

Definition at line 212 of file wpdk-cron.php.

Field Documentation

$name = ''

Definition at line 156 of file wpdk-cron.php.

$recurrence = 0

Definition at line 158 of file wpdk-cron.php.

$timestamp = 0

Definition at line 157 of file wpdk-cron.php.


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