db\ActiveRecord deleteAll()

deleteAll() public static method Deletes rows in the table using the provided conditions. WARNING: If you do not specify any condition, this method will delete ALL rows in the table. For example, to delete all customers whose status is 3: Customer::deleteAll('status = 3'); public static integer deleteAll ( $condition = '', $params = [] )$condition string|array The conditions that will be put in the WHERE part of the DELETE SQL. Please refer to yii\db\Query::where() on how to specify t

db\DataReader __construct()

__construct() public method Constructor. public void __construct ( yii\db\Command $command, $config = [] )$command yii\db\Command The command generating the query result $config array Name-value pairs that will be used to initialize the object properties

base\Model generateAttributeLabel()

generateAttributeLabel() public method Generates a user friendly attribute label based on the give attribute name. This is done by replacing underscores, dashes and dots with blanks and changing the first letter of each word to upper case. For example, 'department_name' or 'DepartmentName' will generate 'Department Name'. public string generateAttributeLabel ( $name )$name string The column name return string The attribute label

db\BaseActiveRecord getAttribute()

getAttribute() public method Returns the named attribute value. If this record is the result of a query and the attribute is not loaded, null will be returned. See also hasAttribute(). public mixed getAttribute ( $name )$name string The attribute name return mixed The attribute value. null if the attribute is not set or does not exist.

jui\SliderInput $clientEventMap

$clientEventMap protected property Event names mapped to what should be specified in .on(). If empty, it is assumed that event passed to clientEvents is prefixed with widget name. Event names mapped to what should be specified in .on(). If empty, it is assumed that event passed to clientEvents is prefixed with widget name. protected array $clientEventMap = ['change' => 'slidechange', 'create' => 'slidecreate', 'slide' => 'slide', 'start' => 'slidestart', 'stop' => 'slidestop

elasticsearch\Query column()

column() public method Executes the query and returns the first column of the result. public array column ( $field, $db = null )$field string The field to query over $db yii\elasticsearch\Connection The database connection used to execute the query. If this parameter is not given, the elasticsearch application component will be used. return array The first column of the query result. An empty array is returned if the query results in nothing.

db\sqlite\QueryBuilder dropPrimaryKey()

dropPrimaryKey() public method Builds a SQL statement for removing a primary key constraint to an existing table. public string dropPrimaryKey ( $name, $table )$name string The name of the primary key constraint to be removed. $table string The table that the primary key constraint will be removed from. return string The SQL statement for removing a primary key constraint from an existing table. throws yii\base\NotSupportedException this is not supported by SQLite

web\UrlRule $name

$name public property The name of this rule. If not set, it will use $pattern as the name. public string $name = null

db\BaseActiveRecord getPrimaryKey()

getPrimaryKey() public method Returns the primary key value(s). public mixed getPrimaryKey ( $asArray = false )$asArray boolean Whether to return the primary key value as an array. If true, the return value will be an array with column names as keys and column values as values. Note that for composite primary keys, an array will always be returned regardless of this parameter value. return mixed The primary key value. An array (column name => column value) is returned if the primary

elasticsearch\ActiveRecord getHighlight()

getHighlight() public method public array|null getHighlight ( )return array|null A list of arrays with highlighted excerpts indexed by field names.