web\Controller redirect()

redirect() public method Redirects the browser to the specified URL. This method is a shortcut to yii\web\Response::redirect(). You can use it in an action by returning the yii\web\Response directly: // stop executing this action and redirect to login page return $this->redirect(['login']); public yii\web\Response redirect ( $url, $statusCode = 302 )$url string|array The URL to be redirected to. This can be in one of the following formats: a string representing a URL (e.g. "http://

swiftmailer\Message getCharset()

getCharset() public method Returns the character set of this message. public string getCharset ( )return string The character set of this message.

bootstrap\Nav $encodeLabels

$encodeLabels public property Whether the nav items labels should be HTML-encoded. public boolean $encodeLabels = true

mongodb\Command getWriteConcern()

getWriteConcern() public method Returns write concern for this command. public \MongoDB\Driver\WriteConcern|null getWriteConcern ( )return \MongoDB\Driver\WriteConcern|null Write concern to be used in this command.

web\DbSession $sessionTable

$sessionTable public property The name of the DB table that stores the session data. The table should be pre-created as follows: CREATE TABLE session ( id CHAR(40) NOT NULL PRIMARY KEY, expire INTEGER, data BLOB ) where 'BLOB' refers to the BLOB-type of your preferred DBMS. Below are the BLOB type that can be used for some popular DBMS: MySQL: LONGBLOB PostgreSQL: BYTEA MSSQL: BLOB When using DbSession in a production server, we recommend you create a DB index for the 'expire'

validators\EmailValidator $fullPattern

$fullPattern public property The regular expression used to validate email addresses with the name part. This property is used only when $allowName is true. See also $allowName. public string $fullPattern = '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'

validators\FileValidator validateValue()

validateValue() protected method Validates a value. A validator class can implement this method to support data validation out of the context of a data model. protected array|null validateValue ( $file )$file return array|null The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid. throws yii\base\NotSupportedException if the validator does not supporting data validation without a model

gii\generators\crud\Generator generateSearchConditions()

generateSearchConditions() public method Generates search conditions public array generateSearchConditions ( )

gii\generators\crud\Generator $columnNames

$columnNames public read-only property Model column names public array getColumnNames ( )

base\InvalidCallException getName()

getName() public method public string getName ( )return string The user-friendly name of this exception