trait HasViewBag

Properties

array $viewBag
protected mixed $viewBagCache

Methods

static void
bootHasViewBag()

Boot the sortable trait for this model.

parseSettings()

No description

getViewBag()

Returns the configured view bag component.

void
fillViewBagArray()

Copies view bag properties to the view bag array.

Details

at line 25
static void bootHasViewBag()

Boot the sortable trait for this model.

Return Value

void

at line 32
parseSettings()

No description

at line 43
ViewBag getViewBag()

Returns the configured view bag component.

This method is used only in the back-end and for internal system needs when the standard way to access components is not an option.

Return Value

ViewBag

at line 66
protected void fillViewBagArray()

Copies view bag properties to the view bag array.

This is required for the back-end editors.

Return Value

void