Statuses
extends Statuses
-
since
-
3.9.6
- 'mphb-p-cancelled' status added.
Table of Contents
-
STATUS_ABANDONED
= 'mphb-p-abandoned'
-
STATUS_CANCELLED
= 'mphb-p-cancelled'
-
STATUS_COMPLETED
= 'mphb-p-completed'
-
STATUS_FAILED
= 'mphb-p-failed'
-
STATUS_ON_HOLD
= 'mphb-p-on-hold'
-
STATUS_PENDING
= 'mphb-p-pending'
-
STATUS_REFUNDED
= 'mphb-p-refunded'
-
$postType
: mixed
-
$statuses
: mixed
-
__construct()
: mixed
-
getFinishedStatuses()
: array<string|int, string>
-
getLabels()
: mixed
-
getStatusArgs()
: mixed
-
getStatuses()
: array<string|int, mixed>
-
registerStatuses()
: mixed
-
transitionStatus()
: mixed
-
initStatuses()
: mixed
STATUS_ABANDONED
public
mixed
STATUS_ABANDONED
= 'mphb-p-abandoned'
STATUS_CANCELLED
public
mixed
STATUS_CANCELLED
= 'mphb-p-cancelled'
STATUS_COMPLETED
public
mixed
STATUS_COMPLETED
= 'mphb-p-completed'
STATUS_FAILED
public
mixed
STATUS_FAILED
= 'mphb-p-failed'
STATUS_ON_HOLD
public
mixed
STATUS_ON_HOLD
= 'mphb-p-on-hold'
STATUS_PENDING
public
mixed
STATUS_PENDING
= 'mphb-p-pending'
STATUS_REFUNDED
public
mixed
STATUS_REFUNDED
= 'mphb-p-refunded'
$postType
protected
mixed
$postType
$statuses
protected
mixed
$statuses
= array()
__construct()
public
__construct(mixed $postType) : mixed
Parameters
-
$postType
: mixed
-
Return values
mixed
—
getFinishedStatuses()
public
getFinishedStatuses() : array<string|int, string>
-
since
-
4.2.2
Return values
array<string|int, string>
—
getLabels()
public
getLabels() : mixed
Return values
mixed
—
getStatusArgs()
public
getStatusArgs(mixed $statusName) : mixed
Parameters
-
$statusName
: mixed
-
Return values
mixed
—
getStatuses()
public
getStatuses() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
registerStatuses()
public
registerStatuses() : mixed
Return values
mixed
—
transitionStatus()
public
transitionStatus(mixed $newStatus, mixed $oldStatus, mixed $post) : mixed
Parameters
-
$newStatus
: mixed
-
-
$oldStatus
: mixed
-
-
$post
: mixed
-
Return values
mixed
—
initStatuses()
protected
initStatuses() : mixed
Return values
mixed
—