FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Job Class Reference
Inheritance diagram for Job:
Thing File Mail Polling Sql Stats Workflow

Public Member Functions

 __construct ($worker, $id, $config, $time, $interval, $max_time)
 
 execute ($timer_id)
 
 overdue ()
 
- Public Member Functions inherited from Thing
 propertyExists ($property)
 Check if a property exists (public or published). More...
 
 constants ($prefix=null)
 Return all constants. More...
 
 get ($key)
 Get one or more properties. More...
 
 set ($key, $value=null)
 Set one or more properties. More...
 
 __get ($key)
 
 __set ($key, $value)
 

Data Fields

 $id = null
 
 $time = null
 
 $interval = null
 
 $maxTime = null
 
 $groupId = null
 
 $groupMaxCount = null
 
- Data Fields inherited from Thing
const HIDDEN = 0
 Property is hidden. More...
 
const READABLE = 1
 Property is readable. More...
 
const WRITEABLE = 2
 Property is writeable. More...
 
const READWRITE = 3
 Property is readable and writeable. More...
 

Protected Member Functions

 getNextTime ()
 
- Protected Member Functions inherited from Thing
 publish ($property, $visibility=self::READABLE)
 Publish a property (or hide it again). More...
 
 alias ($alias, $property, $object=null)
 Define an alias for a property (of another object). More...
 
 configure ($config)
 Configure the object. More...
 
 _get ($key)
 Default getter if no specific setter is defined, and the property is also not published (readable). More...
 
 _set ($key, $value)
 Default setter if no specific setter is defined, and the property is also not published (writeable). More...
 

Protected Attributes

 $_worker = null
 
 $_config = null
 
- Protected Attributes inherited from Thing
 $_published = []
 Published properties (key = name of property, value = visibility). More...
 
 $_aliases = []
 Alias properties (key = alias, value = [object,property]). More...
 

Detailed Description

Definition at line 5 of file Job.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $worker,
  $id,
  $config,
  $time,
  $interval,
  $max_time 
)

Definition at line 17 of file Job.php.

Member Function Documentation

◆ execute()

execute (   $timer_id)

Reimplemented in Mail, Sql, Stats, File, Polling, and Workflow.

Definition at line 26 of file Job.php.

◆ getNextTime()

getNextTime ( )
protected

Definition at line 36 of file Job.php.

◆ overdue()

overdue ( )

Definition at line 29 of file Job.php.

Field Documentation

◆ $_config

$_config = null
protected

Definition at line 15 of file Job.php.

◆ $_worker

$_worker = null
protected

Definition at line 14 of file Job.php.

◆ $groupId

$groupId = null

Definition at line 11 of file Job.php.

◆ $groupMaxCount

$groupMaxCount = null

Definition at line 12 of file Job.php.

◆ $id

$id = null

Definition at line 7 of file Job.php.

◆ $interval

$interval = null

Definition at line 9 of file Job.php.

◆ $maxTime

$maxTime = null

Definition at line 10 of file Job.php.

◆ $time

$time = null

Definition at line 8 of file Job.php.


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