0 follower

Yii Framework 3.0 API Documentation

This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.

You can search API documentation using the search form on the top. You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().

This page is also available in JSON format:
curl https://www.yiiframework.com/doc/api/3.0/view -H 'Accept: application/json'

Class Description
Yiisoft\View\Cache\CachedContent CacheContent caches content, supports the use of dynamic content {@see DynamicContent} inside cached content.
Yiisoft\View\Cache\DynamicContent DynamicContent generates data for dynamic content that is used for cached content {@see CachedContent}.
Yiisoft\View\Event\AfterRenderEventInterface
Yiisoft\View\Event\View\AfterRender AfterRender event is triggered by {@see View::render()} right after it renders a view file.
Yiisoft\View\Event\View\BeforeRender BeforeRender event is triggered by {@see View::render()} right before it renders a view file.
Yiisoft\View\Event\View\PageBegin
Yiisoft\View\Event\View\PageEnd
Yiisoft\View\Event\View\ViewEvent
Yiisoft\View\Event\WebView\AfterRender AfterRender event is triggered by {@see WebView::render()} right after it renders a view file.
Yiisoft\View\Event\WebView\BeforeRender BeforeRender event is triggered by {@see WebView::render()} right before it renders a view file.
Yiisoft\View\Event\WebView\BodyBegin
Yiisoft\View\Event\WebView\BodyEnd
Yiisoft\View\Event\WebView\Head
Yiisoft\View\Event\WebView\PageBegin
Yiisoft\View\Event\WebView\PageEnd
Yiisoft\View\Event\WebView\WebViewEvent
Yiisoft\View\Exception\ViewNotFoundException
Yiisoft\View\PhpTemplateRenderer PhpTemplateRenderer renders the PHP views.
Yiisoft\View\State\LocaleState
Yiisoft\View\State\StateTrait
Yiisoft\View\State\ThemeState
Yiisoft\View\State\ViewState
Yiisoft\View\State\WebViewState
Yiisoft\View\TemplateRendererInterface TemplateRendererInterface is the interface that should be implemented by view template renderers.
Yiisoft\View\Theme Theme represents an application theme.
Yiisoft\View\View View represents an instance of a view for use in an any environment.
Yiisoft\View\ViewContext
Yiisoft\View\ViewContextInterface ViewContextInterface is the interface that should be implemented by classes who want to support relative view names.
Yiisoft\View\ViewInterface View allows rendering templates and sub-templates using data provided.
Yiisoft\View\ViewTrait ViewTrait could be used as a base implementation of {@see ViewInterface}.
Yiisoft\View\WebView WebView represents an instance of a view for use in a WEB environment.