mongodb\Database getCollection()

getCollection() public method Returns the Mongo collection with the given name. public yii\mongodb\Collection getCollection ( $name, $refresh = false )$name string Collection name $refresh boolean Whether to reload the collection instance even if it is found in the cache. return yii\mongodb\Collection Mongo collection instance.

mongodb\file\Collection delete()

delete() public method Deletes the file with given _id. public boolean delete ( $id )$id mixed _id of the file to find. return boolean Whether the operation was successful. throws yii\mongodb\Exception on failure.

filters\auth\AuthInterface handleFailure()

handleFailure() public abstract method Handles authentication failure. The implementation should normally throw UnauthorizedHttpException to indicate authentication failure. public abstract void handleFailure ( $response )$response yii\web\Response throws yii\web\UnauthorizedHttpException

mongodb\file\Download getBytes()

getBytes() public method Alias of toString() method. public string getBytes ( )return string File content.

caching\DbCache getValue()

getValue() protected method Retrieves a value from cache with a specified key. This is the implementation of the method declared in the parent class. protected string|false getValue ( $key )$key string A unique key identifying the cached value return string|false The value stored in cache, false if the value is not in the cache or expired.

captcha\Captcha $imageOptions

$imageOptions public property HTML attributes to be applied to the CAPTCHA image tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $imageOptions = []

mongodb\file\Download toStream()

toStream() public method Saves file into the given stream. public integer toStream ( $stream )$stream resource Stream, which file should be saved to. return integer Number of written bytes.

db\DataReader rewind()

rewind() public method Resets the iterator to the initial state. This method is required by the interface Iterator. public void rewind ( )throws yii\base\InvalidCallException if this method is invoked twice

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.

test\FixtureTrait loadFixtures()

loadFixtures() public method Loads the specified fixtures. This method will call yii\test\Fixture::load() for every fixture object. public void loadFixtures ( $fixtures = null )$fixtures yii\test\Fixture[] The fixtures to be loaded. If this parameter is not specified, the return value of getFixtures() will be used.