Frontend | Backend | Api

Common\Models\Frontend\Widget

Widget

Method Description Returns
getResponse(array $parameters, bool $removeExisting) Get the Response produced from controller calls for this widget. Does not render the template yet. WidgetResponse
getSettingValue(string $settingName) Get the value for a setting for this widget string
getSettingValues(string $settingName) Get the values for a setting for this widget Collection
getHtml(array $parameters, bool $removeExisting) Get the rendered html content for this widget string
isBlank() Return the information that this is not a blank widget bool
getId() int
getModule() string
getText() string
getConfigName() string
getName() string
getIdentifier() string
getController() string
getMethod() string
getCreated() DateTime
getModified() DateTime
getSite() Site
getLayout() Layout
getSettings() Collection (WidgetSetting)
isNewRecord() Check if the record is a new record bool
isHierarchicalModel() Check whether a model is a hierarchical model, i.e. can have children bool
isVersionedModel() Check whether a model is versioned bool