mongodb\Migration save()

save() public method Update the existing database data, otherwise insert this data public \MongoDB\BSON\ObjectID save ( $collection, $data, $options = [] )$collection array|string Collection name. $data array|object Data to be updated/inserted. $options array List of options in format: optionName => optionValue. return \MongoDB\BSON\ObjectID Updated/new record id instance.

web\ErrorHandler getTypeUrl()

getTypeUrl() protected method Returns the informational link URL for a given PHP type/class. See also addTypeLinks(). protected string|null getTypeUrl ( $class, $method )$class string The type or class name. $method string|null The method name. return string|null The informational link URL.

db\QueryBuilder update()

update() public method Creates an UPDATE SQL statement. For example, $params = []; $sql = $queryBuilder->update('user', ['status' => 1], 'age > 30', $params); The method will properly escape the table and column names. public string update ( $table, $columns, $condition, &$params )$table string The table to be updated. $columns array The column data (name => value) to be updated. $condition array|string The condition that will be put in the WHERE part. Please refer

mail\MessageInterface send()

send() public abstract method Sends this email message. public abstract boolean send ( yii\mail\MailerInterface $mailer = null )$mailer yii\mail\MailerInterface The mailer that should be used to send this message. If null, the "mail" application component will be used instead. return boolean Whether this message is sent successfully.

base\Object __call()

__call() public method Calls the named method which is not a class method. Do not call this method directly as it is a PHP magic method that will be implicitly called when an unknown method is being invoked. public mixed __call ( $name, $params )$name string The method name $params array Method parameters return mixed The method return value throws yii\base\UnknownMethodException when calling unknown method

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.

authclient\AuthAction auth()

auth() protected method protected yii\web\Response auth ( $client )$client mixed Auth client instance. return yii\web\Response Response instance. throws yii\base\NotSupportedException on invalid client.

rbac\DbManager removeChildren()

removeChildren() public method Removed all children form their parent. Note, the children items are not deleted. Only the parent-child relationships are removed. public boolean removeChildren ( $parent )$parent yii\rbac\Item return boolean Whether the removal is successful

base\Action getUniqueId()

getUniqueId() public method Returns the unique ID of this action among the whole application. public string getUniqueId ( )return string The unique ID of this action among the whole application.

console\controllers\HelpController formatOptionAliases()

formatOptionAliases() protected method (available since version 2.0.8) protected string formatOptionAliases ( $controller, $option )$controller yii\console\Controller The controller instance $option string The option name return string The formatted string for the alias argument or option