메소드 |
설명 |
|
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 |
|