mail\MessageInterface attachContent()

attachContent() public abstract method Attach specified content as file for the email message. public abstract $this attachContent ( $content, array $options = [] )$content string Attachment file content. $options array Options for embed file. Valid options are: fileName: name, which should be used to attach file. contentType: attached file MIME type. return $this Self reference.

redis\Connection getIsActive()

getIsActive() public method Returns a value indicating whether the DB connection is established. public boolean getIsActive ( )return boolean Whether the DB connection is established

console\controllers\ServeController options()

options() public method Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name. Child classes may override this method to specify possible options. Note that the values setting via options are not available until beforeAction() is being called. public array options ( $actionID )$actionID string The action id of the current request return array The names of the options valid for the action

db\SchemaBuilderTrait decimal()

decimal() public method (available since version 2.0.6) Creates a decimal column. public yii\db\ColumnSchemaBuilder decimal ( $precision = null, $scale = null )$precision integer Column value precision, which is usually the total number of digits. First parameter passed to the column type, e.g. DECIMAL(precision, scale). This parameter will be ignored if not supported by the DBMS. $scale integer Column value scale, which is usually the number of digits after the decimal point. Second p

db\mssql\Schema createQueryBuilder()

createQueryBuilder() public method Creates a query builder for the MSSQL database. public yii\db\mssql\QueryBuilder createQueryBuilder ( )return yii\db\mssql\QueryBuilder Query builder interface.

db\ColumnSchemaBuilder unique()

unique() public method Adds a UNIQUE constraint to the column. public $this unique ( )

db\ActiveRecord attributes()

attributes() public method Returns the list of all attribute names of the model. The default implementation will return all column names of the table associated with this AR class. public array attributes ( )return array List of attribute names.

db\ColumnSchemaBuilder append()

append() public method (available since version 2.0.9) Specify additional SQL to be appended to schema string. public $this append ( $sql )$sql string The SQL string to be appended.

sphinx\Command addColumn()

addColumn() public method Creates a SQL command for adding a new DB column. public $this addColumn ( $table, $column, $type )$table string The table that the new column will be added to. The table name will be properly quoted by the method. $column string The name of the new column. The name will be properly quoted by the method. $type string The column type. yii\db\QueryBuilder::getColumnType() will be called to convert the give column type to the physical one. For example, string w

mongodb\QueryBuilder dropIndexes()

dropIndexes() public method Generates drop indexes command. public array dropIndexes ( $collectionName, $index )$collectionName string Collection name $index string Index name or pattern, use * in order to drop all indexes. return array Command document.