Méthode | Description | |
---|---|---|
approve ( $id ) : mixed | Change resource status to Approved | |
bootModeratable ( ) : void | Boot the soft deleting trait for a model. | |
getDates ( ) : string | Get the name of the "moderated at" column. | |
getModeratedAtColumn ( ) : string | Get the name of the "moderated at" column. | |
getModeratedByColumn ( ) : string | Get the name of the "moderated by" column. | |
getQualifiedModeratedAtColumn ( ) : string | Get the fully qualified "moderated at" column. | |
getQualifiedModeratedByColumn ( ) : string | Get the fully qualified "moderated by" column. | |
getQualifiedStatusColumn ( ) : string | Get the fully qualified "status" column. | |
getStatusColumn ( ) : string | Get the name of the "status" column. | |
isApproved ( ) : boolean | Determine if the model instance has been approved. | |
isPending ( ) : boolean | Determine if the model instance has been approved. | |
isPostponed ( ) : boolean | Determine if the model instance has been postponed. | |
isRejected ( ) : boolean | Determine if the model instance has been approved. | |
markApproved ( ) : mixed | Change Instance's status to Approved | |
markPending ( ) : mixed | Change Instance's status to Pending | |
markPostponed ( ) : mixed | Change Instance's status to Postponed | |
markRejected ( ) : mixed | Change Instance's status to Rejected | |
postpone ( null $id ) : mixed | Change resource status to Postpone | |
reject ( null $id ) : mixed | Change resource status to Rejected |
public static bootModeratable ( ) : void | ||
Résultat | void |
public getModeratedAtColumn ( ) : string | ||
Résultat | string |
public getModeratedByColumn ( ) : string | ||
Résultat | string |
public getQualifiedModeratedAtColumn ( ) : string | ||
Résultat | string |
public getQualifiedModeratedByColumn ( ) : string | ||
Résultat | string |
public getQualifiedStatusColumn ( ) : string | ||
Résultat | string |
public getStatusColumn ( ) : string | ||
Résultat | string |
public isApproved ( ) : boolean | ||
Résultat | boolean |
public isPostponed ( ) : boolean | ||
Résultat | boolean |
public isRejected ( ) : boolean | ||
Résultat | boolean |
public markApproved ( ) : mixed | ||
Résultat | mixed |
public markPending ( ) : mixed | ||
Résultat | mixed |
public markPostponed ( ) : mixed | ||
Résultat | mixed |
public markRejected ( ) : mixed | ||
Résultat | mixed |