gii\generators\form\Generator getName()

getName() public method public string getName ( )return string Name of the code generator

mongodb\ActiveQuery init()

init() public method Initializes the object. This method is called at the end of the constructor. The default implementation will trigger an EVENT_INIT event. If you override this method, make sure you call the parent implementation at the end to ensure triggering of the event. public void init ( )

caching\Cache deleteValue()

deleteValue() protected abstract method Deletes a value with the specified key from cache This method should be implemented by child classes to delete the data from actual cache storage. protected abstract boolean deleteValue ( $key )$key string The key of the value to be deleted return boolean If no error happens during deletion

db\ActiveRecord updateAll()

updateAll() public static method Updates the whole table using the provided attribute values and conditions. For example, to change the status to be 1 for all customers whose status is 2: Customer::updateAll(['status' => 1], 'status = 2'); public static integer updateAll ( $attributes, $condition = '', $params = [] )$attributes array Attribute values (name-value pairs) to be saved into the table $condition string|array The conditions that will be put in the WHERE part of the UPDA

db\BaseActiveRecord hasOne()

hasOne() public method Declares a has-one relation. The declaration is returned in terms of a relational yii\db\ActiveQuery instance through which the related record can be queried and retrieved back. A has-one relation means that there is at most one related record matching the criteria set by this relation, e.g., a customer has one country. For example, to declare the country relation for Customer class, we can write the following code in the Customer class: public function getCountry() {

elasticsearch\DebugPanel getSummary()

getSummary() public method public string getSummary ( )return string Content that is displayed at debug toolbar

data\DataProviderInterface getKeys()

getKeys() public abstract method Returns the key values associated with the data models. public abstract array getKeys ( )return array The list of key values corresponding to models. Each data model in models is uniquely identified by the corresponding key value in this array.

base\Component __set()

__set() public method Sets the value of a component property. This method will check in the following order and act accordingly: a property defined by a setter: set the property value an event in the format of "on xyz": attach the handler to the event "xyz" a behavior in the format of "as xyz": attach the behavior named as "xyz" a property of a behavior: set the behavior property value Do not call this method directly as it is a PHP magic method that will be implicitly called when executing

elasticsearch\ActiveRecord findOne()

findOne() public 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 single record

elasticsearch\ActiveQuery populate()

populate() public method (available since version 2.0.4) Converts the raw query results into the format as specified by this query. This method is internally used to convert the data fetched from database into the format as required by this query. public array populate ( $rows )$rows array The raw query result from database return array The converted query result