base
Table of Contents
Interfaces
- Arrayable
- Arrayable is the interface that should be implemented by classes who want to support customizable representation of their instances.
- BootstrapInterface
- BootstrapInterface is the interface that should be implemented by classes who want to participate in the application bootstrap process.
- Configurable
- Configurable is the interface that should be implemented by classes who support configuring
its properties through the last parameter to its constructor.
- DynamicContentAwareInterface
- DynamicContentAwareInterface is the interface that should be implemented by classes
which support a [[View]] dynamic content feature.
- StaticInstanceInterface
- StaticInstanceInterface is the interface for providing static instances to classes,
which can be used to obtain class meta information that can not be expressed in static methods.
- ViewContextInterface
- ViewContextInterface is the interface that should implemented by classes who want to support relative view names.
Classes
- Action
- Action is the base class for all controller action classes.
- ActionEvent
- ActionEvent represents the event parameter used for an action event.
- ActionFilter
- ActionFilter is the base class for action filters.
- Application
- Application is the base class for all application classes.
- BaseObject
- BaseObject is the base class that implements the *property* feature.
- Behavior
- Behavior is the base class for all behavior classes.
- Component
- Component is the base class that implements the *property*, *event* and *behavior* features.
- Controller
- Controller is the base class for classes containing controller logic.
- DynamicModel
- DynamicModel is a model class that supports defining attributes at run-time (the so-called
"dynamic attributes") using its constructor or [[defineAttribute()]]. DynamicModel can be used
to support ad hoc data validation.
- ErrorException
- ErrorException represents a PHP error.
- ErrorHandler
- ErrorHandler handles uncaught PHP errors and exceptions.
- Event
- Event is the base class for all event classes.
- Exception
- Exception represents a generic exception for all purposes.
- ExitException
- ExitException represents a normal termination of an application.
- InlineAction
- InlineAction represents an action that is defined as a controller method.
- InvalidArgumentException
- InvalidArgumentException represents an exception caused by invalid arguments passed to a method.
- InvalidCallException
- InvalidCallException represents an exception caused by calling a method in a wrong way.
- InvalidConfigException
- InvalidConfigException represents an exception caused by incorrect object configuration.
- InvalidParamException
- InvalidParamException represents an exception caused by invalid parameters passed to a method.
- InvalidRouteException
- InvalidRouteException represents an exception caused by an invalid route.
- InvalidValueException
- InvalidValueException represents an exception caused by a function returning a value of unexpected type.
- Model
- Model is the base class for data models.
- ModelEvent
- ModelEvent represents the parameter needed by [[Model]] events.
- Module
- Module is the base class for module and application classes.
- NotSupportedException
- NotSupportedException represents an exception caused by accessing features that are not supported.
- Request
- Request represents a request that is handled by an [[Application]].
- Response
- Response represents the response of an [[Application]] to a [[Request]].
- Security
- Security provides a set of methods to handle common security-related tasks.
- Theme
- Theme represents an application theme.
- UnknownClassException
- UnknownClassException represents an exception caused by using an unknown class.
- UnknownMethodException
- UnknownMethodException represents an exception caused by accessing an unknown object method.
- UnknownPropertyException
- UnknownPropertyException represents an exception caused by accessing unknown object properties.
- UserException
- UserException is the base class for exceptions that are meant to be shown to end users.
- View
- View represents a view object in the MVC pattern.
- ViewEvent
- ViewEvent represents events triggered by the [[View]] component.
- ViewNotFoundException
- ViewNotFoundException represents an exception caused by view file not found.
- ViewRenderer
- ViewRenderer is the base class for view renderer classes.
- Widget
- Widget is the base class for widgets.
- WidgetEvent
- WidgetEvent represents the event parameter used for a widget event.
Traits
- ArrayableTrait
- ArrayableTrait provides a common implementation of the [[Arrayable]] interface.
- ArrayAccessTrait
- ArrayAccessTrait provides the implementation for [[\IteratorAggregate]], [[\ArrayAccess]] and [[\Countable]].
- DynamicContentAwareTrait
- DynamicContentAwareTrait implements common methods for classes
which support a [[View]] dynamic content feature.
- StaticInstanceTrait
- StaticInstanceTrait provides methods to satisfy [[StaticInstanceInterface]] interface.