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/html -H 'Accept: application/json'

Class Description
Yiisoft\Html\Html Html provides a set of static methods for generating commonly used HTML tags.
Yiisoft\Html\NoEncode The NoEncode class is designed to wrap content that should not be encoded in HTML tags.
Yiisoft\Html\NoEncodeStringableInterface An object that could be cast to string that should not be HTML-encoded when used.
Yiisoft\Html\Tag\A
Yiisoft\Html\Tag\Address
Yiisoft\Html\Tag\Article
Yiisoft\Html\Tag\Aside
Yiisoft\Html\Tag\Audio
Yiisoft\Html\Tag\B
Yiisoft\Html\Tag\Base\BooleanInputTag Base for boolean input tags such as checkboxes and radios.
Yiisoft\Html\Tag\Base\InputTag Base for all input tags.
Yiisoft\Html\Tag\Base\ListTag Base for list tags such as "ul" and "ol".
Yiisoft\Html\Tag\Base\MediaTag
Yiisoft\Html\Tag\Base\NormalTag Base for all normal tags. Normal tags are the ones that have both opening tag and closing tag.
Yiisoft\Html\Tag\Base\TableCellTag
Yiisoft\Html\Tag\Base\TableRowsContainerTag
Yiisoft\Html\Tag\Base\Tag HTML tag. Base class for all tags.
Yiisoft\Html\Tag\Base\TagContentTrait Adds functionality for processing with tag content.
Yiisoft\Html\Tag\Base\TagSourcesTrait Adds functionality for processing tag with children {@see Source} tags.
Yiisoft\Html\Tag\Base\VoidTag Base for all void tags.
Yiisoft\Html\Tag\Body
Yiisoft\Html\Tag\Br
Yiisoft\Html\Tag\Button
Yiisoft\Html\Tag\Caption
Yiisoft\Html\Tag\Code
Yiisoft\Html\Tag\Col
Yiisoft\Html\Tag\Colgroup
Yiisoft\Html\Tag\CustomTag Custom HTML tag.
Yiisoft\Html\Tag\Datalist
Yiisoft\Html\Tag\Div
Yiisoft\Html\Tag\Em
Yiisoft\Html\Tag\Fieldset
Yiisoft\Html\Tag\Footer
Yiisoft\Html\Tag\Form
Yiisoft\Html\Tag\H1
Yiisoft\Html\Tag\H2
Yiisoft\Html\Tag\H3
Yiisoft\Html\Tag\H4
Yiisoft\Html\Tag\H5
Yiisoft\Html\Tag\H6
Yiisoft\Html\Tag\Header
Yiisoft\Html\Tag\Hgroup
Yiisoft\Html\Tag\Hr
Yiisoft\Html\Tag\Html
Yiisoft\Html\Tag\I
Yiisoft\Html\Tag\Img
Yiisoft\Html\Tag\Input HTML input.
Yiisoft\Html\Tag\Input\Checkbox
Yiisoft\Html\Tag\Input\Color
Yiisoft\Html\Tag\Input\File
Yiisoft\Html\Tag\Input\Radio
Yiisoft\Html\Tag\Input\Range An imprecise control for setting the element’s value to a string representing a number.
Yiisoft\Html\Tag\Label
Yiisoft\Html\Tag\Legend
Yiisoft\Html\Tag\Li
Yiisoft\Html\Tag\Link
Yiisoft\Html\Tag\Meta
Yiisoft\Html\Tag\Nav
Yiisoft\Html\Tag\Noscript
Yiisoft\Html\Tag\Ol
Yiisoft\Html\Tag\Optgroup
Yiisoft\Html\Tag\Option
Yiisoft\Html\Tag\P
Yiisoft\Html\Tag\Picture
Yiisoft\Html\Tag\Pre
Yiisoft\Html\Tag\Script
Yiisoft\Html\Tag\Section
Yiisoft\Html\Tag\Select The select element represents a control for selecting amongst a set of options.
Yiisoft\Html\Tag\Small
Yiisoft\Html\Tag\Source
Yiisoft\Html\Tag\Span
Yiisoft\Html\Tag\Strong
Yiisoft\Html\Tag\Style
Yiisoft\Html\Tag\Table
Yiisoft\Html\Tag\Tbody
Yiisoft\Html\Tag\Td
Yiisoft\Html\Tag\Textarea
Yiisoft\Html\Tag\Tfoot
Yiisoft\Html\Tag\Th
Yiisoft\Html\Tag\Thead
Yiisoft\Html\Tag\Title
Yiisoft\Html\Tag\Tr
Yiisoft\Html\Tag\Track
Yiisoft\Html\Tag\Ul
Yiisoft\Html\Tag\Video
Yiisoft\Html\Widget\ButtonGroup ButtonGroup represents a group of buttons.
Yiisoft\Html\Widget\CheckboxList\CheckboxItem
Yiisoft\Html\Widget\CheckboxList\CheckboxList CheckboxList represents a list of checkboxes and their corresponding labels.
Yiisoft\Html\Widget\RadioList\RadioItem
Yiisoft\Html\Widget\RadioList\RadioList RadioList represents a list of radios and their corresponding labels.