Skip to content
PHP Ecosystem
Explore

yii\base

This content is not available in your language yet.

API reference › yii › base

ClassSummary
ActionAction is the base class for all controller action classes.
ActionEventActionEvent represents the event parameter used for an action event.
ActionFilterActionFilter is the base class for action filters.
Application abstractApplication is the base class for all application classes.
BaseObjectBaseObject is the base class that implements the property feature.
BehaviorBehavior is the base class for all behavior classes.
ComponentComponent is the base class that implements the property, event and behavior features.
ControllerController is the base class for classes containing controller logic.
DynamicModelDynamicModel 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.
ErrorExceptionErrorException represents a PHP error.
ErrorHandler abstractErrorHandler handles uncaught PHP errors and exceptions.
EventEvent is the base class for all event classes.
ExceptionException represents a generic exception for all purposes.
ExitExceptionExitException represents a normal termination of an application.
InlineActionInlineAction represents an action that is defined as a controller method.
InvalidArgumentExceptionInvalidArgumentException represents an exception caused by invalid arguments passed to a method.
InvalidCallExceptionInvalidCallException represents an exception caused by calling a method in a wrong way.
InvalidConfigExceptionInvalidConfigException represents an exception caused by incorrect object configuration.
InvalidRouteExceptionInvalidRouteException represents an exception caused by an invalid route.
InvalidValueExceptionInvalidValueException represents an exception caused by a function returning a value of unexpected type.
ModelModel is the base class for data models.
ModelEventModelEvent represents the parameter needed by Model events.
ModuleModule is the base class for module and application classes.
NotSupportedExceptionNotSupportedException represents an exception caused by accessing features that are not supported.
Request abstractRequest represents a request that is handled by an Application.
ResponseResponse represents the response of an Application to a Request.
SecuritySecurity provides a set of methods to handle common security-related tasks.
ThemeTheme represents an application theme.
UnknownClassExceptionUnknownClassException represents an exception caused by using an unknown class.
UnknownMethodExceptionUnknownMethodException represents an exception caused by accessing an unknown object method.
UnknownPropertyExceptionUnknownPropertyException represents an exception caused by accessing unknown object properties.
UserExceptionUserException is the base class for exceptions that are meant to be shown to end users.
ViewView represents a view object in the MVC pattern.
ViewEventViewEvent represents events triggered by the View component.
ViewNotFoundExceptionViewNotFoundException represents an exception caused by view file not found.
ViewRenderer abstractViewRenderer is the base class for view renderer classes.
WidgetWidget is the base class for widgets.
WidgetEventWidgetEvent represents the event parameter used for a widget event.
InterfaceSummary
ArrayableArrayable is the interface that should be implemented by classes who want to support customizable representation of their instances.
BootstrapInterfaceBootstrapInterface is the interface that should be implemented by classes who want to participate in the application bootstrap process.
ConfigurableConfigurable is the interface that should be implemented by classes who support configuring its properties through the last parameter to its constructor.
DynamicContentAwareInterfaceDynamicContentAwareInterface is the interface that should be implemented by classes which support a View dynamic content feature.
StaticInstanceInterfaceStaticInstanceInterface 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.
ViewContextInterfaceViewContextInterface is the interface that should implemented by classes who want to support relative view names.
TraitSummary
ArrayableTraitArrayableTrait provides a common implementation of the Arrayable interface.
ArrayAccessTraitArrayAccessTrait provides the implementation for IteratorAggregate, ArrayAccess and Countable.
DynamicContentAwareTraitDynamicContentAwareTrait implements common methods for classes which support a View dynamic content feature.
StaticInstanceTraitStaticInstanceTrait provides methods to satisfy StaticInstanceInterface interface.