trait HandleMedias (View source)

Methods

hydrateHandleMedias(Model $object, array $fields)

No description

void
afterSaveHandleMedias(Model $object, array $fields)

No description

array
getFormFieldsHandleMedias(Model $object, array $fields)

No description

array
getCrops(string $role)

No description

void
afterDuplicateHandleMedias(TwillModelContract $original, TwillModelContract $newObject)

No description

Details

Model hydrateHandleMedias(Model $object, array $fields)

No description

Parameters

Model $object
array $fields

Return Value

Model

void afterSaveHandleMedias(Model $object, array $fields)

No description

Parameters

Model $object
array $fields

Return Value

void

array getFormFieldsHandleMedias(Model $object, array $fields)

No description

Parameters

Model $object
array $fields

Return Value

array

array getCrops(string $role)

No description

Parameters

string $role

Return Value

array

void afterDuplicateHandleMedias(TwillModelContract $original, TwillModelContract $newObject)

No description

Parameters

TwillModelContract $original
TwillModelContract $newObject

Return Value

void