Свойство | Type | Description | |
---|---|---|---|
$extensions | array | All of the extensions to be added to the builder. |
Méthode | Description | |
---|---|---|
apply ( |
Apply the scope to a given Eloquent query builder. | |
extend ( |
Extend the query builder with the needed functions. | |
remove ( |
Remove the scope from the given Eloquent query builder. |
Méthode | Description | |
---|---|---|
addApprove ( |
Add the Approve extension to the builder. | |
addPend ( |
Add the Postpone extension to the builder. | |
addPending ( |
Add the Pending extension to the builder. | |
addPostpone ( |
Add the Postpone extension to the builder. | |
addPostponed ( |
Add the Postponed extension to the builder. | |
addReject ( |
Add the Reject extension to the builder. | |
addRejected ( |
Add the Rejected extension to the builder. | |
addWithAnyStatus ( |
Add the with-any-status extension to the builder. | |
addWithPending ( |
Add the with-pending extension to the builder. | |
addWithPostponed ( |
Add the with-postpone extension to the builder. | |
addWithRejected ( |
Add the with-rejected extension to the builder. | |
getStatusColumn ( |
Get the "deleted at" column for the builder. | |
isModerationConstraint ( array $where, string $column ) : boolean | Determine if the given where clause is a moderation constraint. | |
removeBinding ( $query, integer $key ) | Remove scope constraint from the query. | |
removeWhere ( $query, integer $key ) | Remove scope constraint from the query. |
Méthode | Description | |
---|---|---|
updateModerationStatus ( |
protected addApprove ( |
||
$builder | ||
Résultat | void |
protected addPending ( |
||
$builder | ||
Résultat | void |
protected addPostpone ( |
||
$builder | ||
Résultat | void |
protected addPostponed ( |
||
$builder | ||
Résultat | void |
protected addRejected ( |
||
$builder | ||
Résultat | void |
protected addWithAnyStatus ( |
||
$builder | ||
Résultat | void |
protected addWithPending ( |
||
$builder | ||
Résultat | void |
protected addWithPostponed ( |
||
$builder | ||
Résultat | void |
protected addWithRejected ( |
||
$builder | ||
Résultat | void |
protected getStatusColumn ( |
||
$builder | ||
Résultat | string |
protected removeBinding ( $query, integer $key ) | ||
$query | ||
$key | integer |
protected removeWhere ( $query, integer $key ) | ||
$query | ||
$key | integer |
protected array $extensions | ||
Résultat | array |