db\Transaction begin()

begin() public method Begins a transaction. public void begin ( $isolationLevel = null )$isolationLevel string|null The isolation level to use for this transaction. This can be one of READ_UNCOMMITTED, READ_COMMITTED, REPEATABLE_READ and SERIALIZABLE but also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL. If not specified (null) the isolation level will not be set explicitly and the DBMS default will be used. Note: This setting does not work

db\Transaction getLevel()

getLevel() public method (available since version 2.0.8) public integer getLevel ( )return integer The current nesting level of the transaction.

Views

Creating Views Rendering Views Layouts Using View Components View Events Rendering Static Pages Best Practices Views are part of the MVC architecture. They are code responsible for presenting data to end users. In a Web application, views are usually created in terms of view templates which are PHP script files containing mainly HTML code and presentational PHP code. They are managed by the view application component which provides commonly used methods to facilitate view composition and rende

i18n\MessageFormatter getErrorMessage()

getErrorMessage() public method Get the error text from the last operation public string getErrorMessage ( )return string Description of the last error.

data\BaseDataProvider getTotalCount()

getTotalCount() public method Returns the total number of data models. When $pagination is false, this returns the same value as $count. Otherwise, it will call prepareTotalCount() to get the count. public integer getTotalCount ( )return integer Total number of possible data models.

db\Schema $defaultSchema

$defaultSchema public property The default schema name used for the current session. public string $defaultSchema = null

db\Schema $transactionIsolationLevel

$transactionIsolationLevel public write-only property The transaction isolation level to use for this transaction. This can be one of yii\db\Transaction::READ_UNCOMMITTED, yii\db\Transaction::READ_COMMITTED, yii\db\Transaction::REPEATABLE_READ and yii\db\Transaction::SERIALIZABLE but also a string containing DBMS specific syntax to be used after SET TRANSACTION ISOLATION LEVEL. public void setTransactionIsolationLevel ( $level )

db\Schema createColumnSchema()

createColumnSchema() protected method protected yii\db\ColumnSchema createColumnSchema ( )throws yii\base\InvalidConfigException

mongodb\file\Upload $filename

$filename public property Filename to be used for file storage. public string $filename = null

behaviors\SluggableBehavior generateUniqueSlug()

generateUniqueSlug() protected method Generates slug using configured callback or increment of iteration. protected string generateUniqueSlug ( $baseSlug, $iteration )$baseSlug string Base slug value $iteration integer Iteration number return string New slug value throws yii\base\InvalidConfigException