[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/classes/task/ -> task_base.php (summary)

Abstract class for common properties of scheduled_task and adhoc_task.

Copyright: 2013 Damyon Wiese
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 154 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 12 functions

  set_lock()
  set_cron_lock()
  get_lock()
  get_next_run_time()
  set_next_run_time()
  get_cron_lock()
  set_blocking()
  is_blocking()
  set_component()
  get_component()
  set_fail_delay()
  get_fail_delay()

Functions
Functions that are not part of a class:

set_lock(\core\lock\lock $lock)   X-Ref
Set the current lock for this task.

param: \core\lock\lock $lock

set_cron_lock(\core\lock\lock $lock)   X-Ref
Set the current lock for the entire cron process.

param: \core\lock\lock $lock

get_lock()   X-Ref
Get the current lock for this task.

return: \core\lock\lock

get_next_run_time()   X-Ref
Get the next run time for this task.

return: int timestamp

set_next_run_time($nextruntime)   X-Ref
Set the next run time for this task.

param: int $nextruntime

get_cron_lock()   X-Ref
Get the current lock for the entire cron.

return: \core\lock\lock

set_blocking($blocking)   X-Ref
Setter for $blocking.

param: bool $blocking

is_blocking()   X-Ref
Getter for $blocking.

return: bool

set_component($component)   X-Ref
Setter for $component.

param: string $component

get_component()   X-Ref
Getter for $component.

return: string

set_fail_delay($faildelay)   X-Ref
Setter for $faildelay.

param: int $faildelay

get_fail_delay()   X-Ref
Getter for $faildelay.

return: int



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1