HandleSlugs
trait HandleSlugs (View source)
Methods
void
void
void
array
array
Model|null
forSlug(string $slug, array $with = [], array $withCount = [], array $scopes = [])
No description
forSlugPreview(string $slug, array $with = [], array $withCount = [])
No description
Details
void
afterSaveHandleSlugs(Model $object, array $fields)
No description
void
afterDeleteHandleSlugs(Model $object)
No description
void
afterRestoreHandleSlugs(Model $object)
No description
array
getFormFieldsHandleSlugs(Model $object, array $fields)
No description
array
getSlugParameters(Model $object, array $fields, array $slug)
No description
Model|null
forSlug(string $slug, array $with = [], array $withCount = [], array $scopes = [])
No description
Model
forSlugPreview(string $slug, array $with = [], array $withCount = [])
No description