web\Session setId()

setId() public method Sets the session ID. This is a wrapper for PHP session_id(). public void setId ( $value )$value string The session ID for the current session

mongodb\Session init()

init() public method Initializes the Session component. This method will initialize the $db property to make sure it refers to a valid MongoDB connection. public void init ( )throws yii\base\InvalidConfigException if $db is invalid.

helpers\BaseConsole beginAnsiFormat()

beginAnsiFormat() public static method Echoes an ANSI format code that affects the formatting of any text that is printed afterwards. See also: ansiFormatCode() endAnsiFormat() public static void beginAnsiFormat ( $format )$format array An array containing formatting values. You can pass any of the FG_*, BG_* and TEXT_* constants and also xtermFgColor() and xtermBgColor() to specify a format.

mongodb\Session $db

$db public property The MongoDB connection object or the application component ID of the MongoDB connection. After the Session object is created, if you want to change this property, you should only assign it with a MongoDB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object. public yii\mongodb\Connection|array|string $db = 'mongodb'

web\AssetManager setConverter()

setConverter() public method Sets the asset converter. public void setConverter ( $value )$value array|yii\web\AssetConverterInterface The asset converter. This can be either an object implementing the yii\web\AssetConverterInterface, or a configuration array that can be used to create the asset converter object.

helpers\BaseConsole renderColoredString()

renderColoredString() public static method Converts a string to ansi formatted by replacing patterns like %y (for yellow) with ansi control codes Uses almost the same syntax as https://github.com/pear/Console_Color2/blob/master/Console/Color2.php The conversion table is: ('bold' meaning 'light' on some terminals). It's almost the same conversion table irssi uses. text text background ------------------------------------------------ %k %K %0 black dark

web\Controller $enableCsrfValidation

$enableCsrfValidation public property Whether to enable CSRF validation for the actions in this controller. CSRF validation is enabled only when both this property and yii\web\Request::$enableCsrfValidation are true. public boolean $enableCsrfValidation = true

db\Query one()

one() public method Executes the query and returns a single row of result. public array|boolean one ( $db = null )$db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return array|boolean The first row (in terms of an array) of the query result. False is returned if the query results in nothing.

db\ActiveQuery andOnCondition()

andOnCondition() public method Adds an additional ON condition to the existing one. The new condition and the existing one will be joined using the 'AND' operator. See also: onCondition() orOnCondition() public $this andOnCondition ( $condition, $params = [] )$condition string|array The new ON condition. Please refer to where() on how to specify this parameter. $params array The parameters (name => value) to be bound to the query. return $this The query object itself

swiftmailer\Message $cc

$cc public property The Cc (additional copy receiver) addresses of this message. public array getCc ( )public $this setCc ( $cc )