behaviors\BlameableBehavior getValue()

getValue() protected method Returns the value for the current attributes. This method is called by evaluateAttributes(). Its return value will be assigned to the attributes corresponding to the triggering event. In case, when the $value property is null, the value of Yii::$app->user->id will be used as the value. protected mixed getValue ( $event )$event yii\base\Event The event that triggers the current attribute updating. return mixed The attribute value

console\controllers\MessageController saveMessagesToDb()

saveMessagesToDb() protected method Saves messages to database protected void saveMessagesToDb ( $messages, $db, $sourceMessageTable, $messageTable, $removeUnused, $languages, $markUnused )$messages array $db yii\db\Connection $sourceMessageTable string $messageTable string $removeUnused boolean $languages array $markUnused boolean

db\SchemaBuilderTrait timestamp()

timestamp() public method (available since version 2.0.6) Creates a timestamp column. public yii\db\ColumnSchemaBuilder timestamp ( $precision = null )$precision integer Column value precision. First parameter passed to the column type, e.g. TIMESTAMP(precision). This parameter will be ignored if not supported by the DBMS. return yii\db\ColumnSchemaBuilder The column instance which can be further customized.

web\Request $absoluteUrl

$absoluteUrl public read-only property The currently requested absolute URL. public string getAbsoluteUrl ( )

db\pgsql\Schema $typeMap

$typeMap public property Mapping from physical column types (keys) to abstract column types (values) See also http://www.postgresql.org/docs/current/static/datatype.html#DATATYPE-TABLE. public array $typeMap = ['bit' => self::TYPE_INTEGER, 'bit varying' => self::TYPE_INTEGER, 'varbit' => self::TYPE_INTEGER, 'bool' => self::TYPE_BOOLEAN, 'boolean' => self::TYPE_BOOLEAN, 'box' => self::TYPE_STRING, 'circle' => self::TYPE_STRING, 'point' => self::TYPE_STRING, 'line' =&

db\sqlite\Schema createQueryBuilder()

createQueryBuilder() public method Creates a query builder for the MySQL database. This method may be overridden by child classes to create a DBMS-specific query builder. public yii\db\sqlite\QueryBuilder createQueryBuilder ( )return yii\db\sqlite\QueryBuilder Query builder instance

db\Command dropColumn()

dropColumn() public method Creates a SQL command for dropping a DB column. public $this dropColumn ( $table, $column )$table string The table whose column is to be dropped. The name will be properly quoted by the method. $column string The name of the column to be dropped. The name will be properly quoted by the method. return $this The command object itself

elasticsearch\ActiveRecord mget()

mget() public static method Gets a list of records by its primary keys. public static array mget ( array $primaryKeys, $options = [] )$primaryKeys array An array of primaryKey values $options array Options given in this parameter are passed to elasticsearch as request URI parameters. Please refer to the elasticsearch documentation for more details on these options. return array The record instances, or empty array if nothing was found

mongodb\gii\model\Generator requiredTemplates()

requiredTemplates() public method Returns a list of code template files that are required. Derived classes usually should override this method if they require the existence of certain template files. public array requiredTemplates ( )return array List of code template files that are required. They should be file paths relative to $templatePath.

db\ActiveRecordInterface findOne()

findOne() public abstract static method Returns a single active record model instance by a primary key or an array of column values. The method accepts: a scalar value (integer or string): query by a single primary key value and return the corresponding record (or null if not found). a non-associative array: query by a list of primary key values and return the first record (or null if not found). an associative array of name-value pairs: query by a set of attribute values and return a singl