Method | 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 | ||
return | void |
public getModeratedAtColumn ( ) : string | ||
return | string |
public getModeratedByColumn ( ) : string | ||
return | string |
public getQualifiedModeratedAtColumn ( ) : string | ||
return | string |
public getQualifiedModeratedByColumn ( ) : string | ||
return | string |
public getQualifiedStatusColumn ( ) : string | ||
return | string |
public getStatusColumn ( ) : string | ||
return | string |
public isApproved ( ) : boolean | ||
return | boolean |
public isPostponed ( ) : boolean | ||
return | boolean |
public isRejected ( ) : boolean | ||
return | boolean |
public markApproved ( ) : mixed | ||
return | mixed |
public markPending ( ) : mixed | ||
return | mixed |
public markPostponed ( ) : mixed | ||
return | mixed |
public markRejected ( ) : mixed | ||
return | mixed |