HasComponents
trait HasComponents
Properties
BaseComponent[] | $components |
Methods
static void
bootHasComponents()
Boot the sortable trait for this model.
parseComponentSettings()
No description
getComponent(string $componentName)
Returns a component by its name.
mixed
hasComponent(string $componentName)
Checks if the object has a component with the specified name.
runComponents()
No description
updateComponent($alias, array $properties)
No description
Details
at line 19
static void
bootHasComponents()
Boot the sortable trait for this model.
at line 26
parseComponentSettings()
No description
at line 52
BaseComponent
getComponent(string $componentName)
Returns a component by its name.
This method is used only in the admin and for internal system needs when the standard way to access components is not an option.
at line 71
mixed
hasComponent(string $componentName)
Checks if the object has a component with the specified name.
at line 96
runComponents()
No description
at line 110
updateComponent($alias, array $properties)
No description