mongodb\ActiveRecord delete()

delete() public method Deletes the document corresponding to this active record from the collection. This method performs the following steps in order: call beforeDelete(). If the method returns false, it will skip the rest of the steps; delete the document from the collection; call afterDelete(). In the above step 1 and 3, events named EVENT_BEFORE_DELETE and EVENT_AFTER_DELETE will be raised by the corresponding methods. public integer|boolean delete ( )return integer|boolean The num

debug\panels\DbPanel $summary

$summary public read-only property Content that is displayed at debug toolbar public string getSummary ( )

mongodb\ActiveRecord equals()

equals() public method Returns a value indicating whether the given active record is the same as the current one. The comparison is made by comparing the collection names and the primary key values of the two active records. If one of the records is new they are also considered not equal. public boolean equals ( $record )$record yii\mongodb\ActiveRecord Record to compare to return boolean Whether the two active records refer to the same row in the same Mongo collection.

swiftmailer\Message getSubject()

getSubject() public method Returns the message subject. public string getSubject ( )return string The message subject

db\Command queryInternal()

queryInternal() protected method (available since version 2.0.1) Performs the actual DB query of a SQL statement. protected mixed queryInternal ( $method, $fetchMode = null )$method string Method of PDOStatement to be called $fetchMode integer The result fetch mode. Please refer to PHP manual for valid fetch modes. If this parameter is null, the value set in $fetchMode will be used. return mixed The method execution result throws yii\db\Exception if the query causes any problem

mongodb\ActiveRecord insert()

insert() public method Inserts a row into the associated Mongo collection using the attribute values of this record. This method performs the following steps in order: call beforeValidate() when $runValidation is true. If validation fails, it will skip the rest of the steps; call afterValidate() when $runValidation is true. call beforeSave(). If the method returns false, it will skip the rest of the steps; insert the record into collection. If this fails, it will skip the rest of the steps;

swiftmailer\Message setReplyTo()

setReplyTo() public method Sets the reply-to address of this message. public $this setReplyTo ( $replyTo )$replyTo string|array The reply-to address. You may pass an array of addresses if this message should be replied to multiple people. You may also specify reply-to name in addition to email address using format: [email => name]. return $this Self reference.

mongodb\Command dropIndexes()

dropIndexes() public method Drops collection indexes by name. public array dropIndexes ( $collectionName, $indexes )$collectionName string Collection name. $indexes string Wildcard for name of the indexes to be dropped. return array Result data.

swiftmailer\Message getCharset()

getCharset() public method Returns the character set of this message. public string getCharset ( )return string The character set of this message.

test\BaseActiveFixture getData()

getData() protected method Returns the fixture data. The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return the data array that will be stored in $data after inserting into the database. protected array getData ( )return array The data to be put into the database throws yii\base\InvalidConfigException if the specified data file does not exist.