vBulletin v6.0.4

vB_Systemevent_Queue
in package
Uses vB_Trait_NoSerialize

Table of Contents

Constants

PRIORITY_HIGH  = 16
PRIORITY_LOW  = 4
PRIORITY_MINIUM  = 1
PRIORITY_NORMAL  = 8

Methods

__construct()  : mixed
__serialize()  : array<string|int, mixed>
__sleep()  : array<string|int, mixed>
__unserialize()  : void
__wakeup()  : void
deleteErrors()  : void
Delete errors from the queue.
isEmpty()  : bool
register()  : void
runQueue()  : void

Constants

PRIORITY_HIGH

public mixed PRIORITY_HIGH = 16

PRIORITY_LOW

public mixed PRIORITY_LOW = 4

PRIORITY_MINIUM

public mixed PRIORITY_MINIUM = 1

PRIORITY_NORMAL

public mixed PRIORITY_NORMAL = 8

Methods

__construct()

public __construct(vB_Db_Assertor $db) : mixed
Parameters
$db : vB_Db_Assertor

__serialize()

public __serialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

__unserialize()

public __unserialize(array<string|int, mixed> $serialized) : void
Parameters
$serialized : array<string|int, mixed>

deleteErrors()

Delete errors from the queue.

public deleteErrors(int $olderthanseconds) : void
Parameters
$olderthanseconds : int

-- Duration in seconds. Only events older than this (based on runafter) will be deleted. A value of zero will delete all error events.

isEmpty()

public isEmpty() : bool
Return values
bool

register()

public register(vB_Systemevent_Item $event[, int $priority = self::PRIORITY_NORMAL ][, int $runafter = 0 ]) : void
Parameters
$event : vB_Systemevent_Item
$priority : int = self::PRIORITY_NORMAL
$runafter : int = 0

runQueue()

public runQueue([int $waitlimit = 0 ]) : void
Parameters
$waitlimit : int = 0

        
On this page

Search results