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

Class Description
Yiisoft\Db\Mysql\Builder\ArrayMergeBuilder Builds SQL expressions which merge arrays for {@see ArrayMerge} objects.
Yiisoft\Db\Mysql\Builder\JsonOverlapsBuilder Builds expressions for {@see JsonOverlaps} for MySQL Server.
Yiisoft\Db\Mysql\Builder\LikeBuilder Build an object of {@see Like} into SQL expressions for MySQL Server.
Yiisoft\Db\Mysql\Builder\LongestBuilder Builds SQL representation of function expressions which returns the longest string from a set of operands.
Yiisoft\Db\Mysql\Builder\ShortestBuilder Builds SQL representation of function expressions which return the shortest string from a set of operands.
Yiisoft\Db\Mysql\Column\ColumnBuilder
Yiisoft\Db\Mysql\Column\ColumnDefinitionBuilder
Yiisoft\Db\Mysql\Column\ColumnDefinitionParser Parses column definition string. For example, string(255) or int unsigned.
Yiisoft\Db\Mysql\Column\ColumnFactory
Yiisoft\Db\Mysql\Column\DateTimeColumn Represents the metadata for a datetime column.
Yiisoft\Db\Mysql\Column\StringColumn Represents the metadata for a string column.
Yiisoft\Db\Mysql\Command Implements a database command that can be executed with a PDO (PHP Data Object) database connection for MySQL, MariaDB.
Yiisoft\Db\Mysql\Connection Implements a connection to a database via PDO (PHP Data Objects) for MySQL, MariaDB.
Yiisoft\Db\Mysql\DDLQueryBuilder Implements a (Data Definition Language) SQL statements for MySQL, MariaDB.
Yiisoft\Db\Mysql\DMLQueryBuilder Implements a DML (Data Manipulation Language) SQL statements for MySQL, MariaDB.
Yiisoft\Db\Mysql\DQLQueryBuilder Implements a DQL (Data Query Language) SQL statements for MySQL, MariaDB.
Yiisoft\Db\Mysql\Driver Implements the MySQL, MariaDB driver based on the PDO (PHP Data Objects) extension.
Yiisoft\Db\Mysql\Dsn Represents a Data Source Name (DSN) for MySQL and MariaDB servers that's used to configure a {@see Driver} instance.
Yiisoft\Db\Mysql\DsnSocket Represents a Data Source Name (DSN) with unix socket for MySQL and MariaDB servers that's used to configure a {@see Driver} instance.
Yiisoft\Db\Mysql\IndexMethod Defines the available index methods for {@see DDLQueryBuilder::createIndex()} method.
Yiisoft\Db\Mysql\IndexType Defines the available index types for {@see DDLQueryBuilder::createIndex()} method.
Yiisoft\Db\Mysql\QueryBuilder Implements MySQL, MariaDB specific query builder.
Yiisoft\Db\Mysql\Quoter Implements MySQL, MariaDB quoting and unquoting methods.
Yiisoft\Db\Mysql\Schema Implements MySQL, MariaDB specific schema, supporting MySQL Server 5.7, MariaDB Server 10.4 and higher.
Yiisoft\Db\Mysql\ServerInfo
Yiisoft\Db\Mysql\SqlParser
Yiisoft\Db\Mysql\Transaction Implements the MySQL, MariaDB specific transaction.