TaskHandler
Table of Contents
-
$cancelled
: bool
-
$delay
: int
-
$nextRun
: int
-
$period
: int
-
$task
: Task
-
$ownerName
: string
-
$taskName
: string
-
$timings
: TimingsHandler
-
__construct()
: mixed
-
cancel()
: void
-
getDelay()
: int
-
getNextRun()
: int
-
getOwnerName()
: string
-
getPeriod()
: int
-
getTask()
: Task
-
getTaskName()
: string
-
isCancelled()
: bool
-
isDelayed()
: bool
-
isRepeating()
: bool
-
remove()
: void
-
run()
: void
-
setNextRun()
: void
$cancelled
protected
bool
$cancelled
= false
$delay
protected
int
$delay
$nextRun
protected
int
$nextRun
$period
protected
int
$period
$task
protected
Task
$task
$ownerName
private
string
$ownerName
$taskName
private
string
$taskName
$timings
private
TimingsHandler
$timings
__construct()
public
__construct(Task $task[, int $delay = -1 ][, int $period = -1 ][, string|null $ownerName = null ]) : mixed
Parameters
-
$task
: Task
-
-
$delay
: int
= -1
-
-
$period
: int
= -1
-
-
$ownerName
: string|null
= null
-
Return values
mixed
—
cancel()
public
cancel() : void
Return values
void
—
getDelay()
public
getDelay() : int
Return values
int
—
getNextRun()
public
getNextRun() : int
Return values
int
—
getOwnerName()
public
getOwnerName() : string
Return values
string
—
getPeriod()
public
getPeriod() : int
Return values
int
—
getTask()
public
getTask() : Task
Return values
Task
—
getTaskName()
public
getTaskName() : string
Return values
string
—
isCancelled()
public
isCancelled() : bool
Return values
bool
—
isDelayed()
public
isDelayed() : bool
Return values
bool
—
isRepeating()
public
isRepeating() : bool
Return values
bool
—
remove()
public
remove() : void
Return values
void
—
run()
public
run() : void
Return values
void
—
setNextRun()
public
setNextRun(int $ticks) : void
Parameters
-
$ticks
: int
-
Return values
void
—