ErrorMaker

Error Maker Trait Adds exception based methods to a class, goes well with System\Traits\ViewMaker.

 trait Backend\Traits\ErrorMaker

Properties

protected $fatalError : string

Object used for storing a fatal error.

Methods

public getFatalError () : string

Returns
string

The fatal error message

public handleError ($exception)

Sets standard page variables in the case of a controller error.

Parameters
Property Description
$exception
mixed
Returns
mixed

public hasFatalError () : bool

Returns
bool

Whether a fatal error has been set or not.

Used by

Class Description
EventLogs

Event Logs controller

MailBrandSettings

Mail brand customization controller

MailLayouts

Mail layouts controller

MailPartials

Mail partials controller

MailTemplates

Mail templates controller

RequestLogs

Request Logs controller

Settings

Settings controller

Updates

Updates controller

Status

System status report widget.

Controller

The Backend base controller class, used by Backend controllers.

FormWidgetBase

Form Widget base class Widgets used specifically for forms

ReportWidgetBase

Report Widget base class Report widgets are used inside the ReportContainer.

WidgetBase

Widget base class.

AccessLogs

Access Logs controller

Auth

Authentication controller

Files

Backend files controller

Index

Dashboard controller

Media

Backend Media Manager

Preferences

Editor Settings controller

UserGroups

Backend user groups controller

UserRoles

Backend user groups controller

Users

Backend user controller

CodeEditor

Code Editor Renders a code editor field.

ColorPicker

Color picker Renders a color picker field.

DataTable

Data Table Renders a table field.

DatePicker

Date picker Renders a date picker field.

FileUpload

File upload field Renders a form file uploader field.

IconPicker

Icon picker Renders an icon picker field.

MarkdownEditor

Code Editor Renders a code editor field.

MediaFinder

Media Finder Renders a record finder field.

NestedForm

Nested Form Renders a nested form bound to a jsonable field of a model.

PermissionEditor

User/group permission editor This widget is used by the system internally on the System / Administrators pages.

RecordFinder

Record Finder Renders a record finder field.

Relation

Form Relationship Renders a field prepopulated with a belongsTo and belongsToHasMany relation.

RelationManager
Repeater

Repeater Form Widget

RichEditor

Rich Editor Renders a rich content editor field.

Sensitive

Sensitive widget.

TagList

Tag List Form Widget

Welcome

User welcome report widget.

Filter

Filter Widget Renders a container used for filtering things.

Form

Form Widget Used for building back end forms and renders a form.

Lists

List Widget Used for building back end lists, renders a list of model objects

MediaManager

Media Manager widget.

ReportContainer

Report Container Widget Creates an area hosting report widgets.

Search

Search Widget Used for building a toolbar, Renders a search container.

Table

Table Widget.

Toolbar

Toolbar Widget Used for building a toolbar, renders a toolbar.

Index

CMS index

Media

CMS Media Manager

ThemeLogs

Request Logs controller

ThemeOptions

Theme customization controller

Themes

Theme selector controller

Components

Component Builder Builds a collection of Cms components and configures them.

MediaFinder

Media Finder Renders a record finder field.

ActiveTheme

Active theme report widget.

AssetList

CMS asset list widget.

ComponentList

Component list widget.

MediaManager

Media Manager widget.

TemplateList

Template list widget.

Copyright © 2024 Winter CMS