db\Connection $enableSavepoint

$enableSavepoint public property Whether to enable savepoint. Note that if the underlying DBMS does not support savepoint, setting this property to be true will have no effect. public boolean $enableSavepoint = true

elasticsearch\Command deleteMapping()

deleteMapping() public method See also http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html. public mixed deleteMapping ( $index, $type )$index $type

elasticsearch\Query all()

all() public method Executes the query and returns all results as an array. public array all ( $db = null )$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 query results. If the query results in nothing, an empty array will be returned.

captcha\CaptchaAction validate()

validate() public method Validates the input to see if it matches the generated code. public boolean validate ( $input, $caseSensitive )$input string User input $caseSensitive boolean Whether the comparison should be case-sensitive return boolean Whether the input is valid

caching\Cache get()

get() public method Retrieves a value from cache with a specified key. public mixed get ( $key )$key mixed A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors representing the key. return mixed The value stored in cache, false if the value is not in the cache, expired, or the dependency associated with the cached data has changed.

db\SchemaBuilderTrait dateTime()

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

db\Schema quoteSimpleTableName()

quoteSimpleTableName() public method Quotes a simple table name for use in a query. A simple table name should contain the table name only without any schema prefix. If the table name is already quoted, this method will do nothing. public string quoteSimpleTableName ( $name )$name string Table name return string The properly quoted table name

mongodb\ActiveRecord deleteAll()

deleteAll() public static method Deletes documents in the collection using the provided conditions. WARNING: If you do not specify any condition, this method will delete documents rows in the collection. For example, to delete all customers whose status is 3: Customer::deleteAll(['status' => 3]); public static integer deleteAll ( $condition = [], $options = [] )$condition array Description of the objects to delete. Please refer to yii\mongodb\Query::where() on how to specify this par

web\HeaderCollection offsetGet()

offsetGet() public method Returns the header with the specified name. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $header = $collection[$name];. This is equivalent to get(). public string offsetGet ( $name )$name string The header name return string The header value with the specified name, null if the named header does not exist.

filters\PageCache beforeAction()

beforeAction() public method This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action. public boolean beforeAction ( $action )$action yii\base\Action The action to be executed. return boolean Whether the action should continue to be executed.