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

Class Description
Yiisoft\FormModel\Attribute\Hint
Yiisoft\FormModel\Attribute\Placeholder
Yiisoft\FormModel\Attribute\Safe Safe validation rule marks a model property as safe for filling with {@see FormHydrator::populate()}, {@see FormHydrator::populateAndValidate()}, {@see FormHydrator::populateFromPost()}, and {@see FormHydrator::populateFromPostAndValidate()}.
Yiisoft\FormModel\Exception\PropertyNotSupportNestedValuesException Thrown when the property doesn't support nested values.
Yiisoft\FormModel\Exception\StaticObjectPropertyException Thrown when the object property is static.
Yiisoft\FormModel\Exception\UndefinedArrayElementException Thrown when an array element is undefined.
Yiisoft\FormModel\Exception\UndefinedObjectPropertyException Thrown when object property is undefined.
Yiisoft\FormModel\Exception\ValueNotFoundException Thrown when value isn't found.
Yiisoft\FormModel\Field Field is a shortcut static factory to ease creation of fields of various builtin types.
Yiisoft\FormModel\FieldFactory FieldFactory is a factory to ease creation of fields of various builtin types.
Yiisoft\FormModel\FormHydrator Form hydrator fills model with the data and optionally checks the data validity.
Yiisoft\FormModel\FormModel A base class for form models that represent HTML forms: their data, validation and presentation.
Yiisoft\FormModel\FormModelInputData
Yiisoft\FormModel\FormModelInterface Form model represents an HTML form: its data, validation and presentation.
Yiisoft\FormModel\NonArrayTypeCaster Ensures that non-array value for property of array type is converted to an empty array.
Yiisoft\FormModel\ParsedProperty
Yiisoft\FormModel\PathNormalizer
Yiisoft\FormModel\ValidationRulesEnricher