Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
public getModeratedAtColumn ( ) : string | ||
Результат | string |
public getModeratedByColumn ( ) : string | ||
Результат | string |
public getQualifiedModeratedAtColumn ( ) : string | ||
Результат | string |
public getQualifiedModeratedByColumn ( ) : string | ||
Результат | string |
public getQualifiedStatusColumn ( ) : string | ||
Результат | string |
public getStatusColumn ( ) : string | ||
Результат | string |
public isApproved ( ) : boolean | ||
Результат | boolean |
public isPostponed ( ) : boolean | ||
Результат | boolean |
public isRejected ( ) : boolean | ||
Результат | boolean |
public markApproved ( ) : mixed | ||
Результат | mixed |
public markPending ( ) : mixed | ||
Результат | mixed |
public markPostponed ( ) : mixed | ||
Результат | mixed |
public markRejected ( ) : mixed | ||
Результат | mixed |