mongodb\Query fetchRowsInternal()

fetchRowsInternal() protected method See also yii\mongodb\Query::fetchRows(). protected array|boolean fetchRowsInternal ( $cursor, $all )$cursor \MongoDB\Driver\Cursor Mongo cursor instance to fetch data from. $all boolean Whether to fetch all rows or only first one. return array|boolean Result.

db\ActiveRecordInterface getDb()

getDb() public abstract static method Returns the connection used by this AR class. public abstract static mixed getDb ( )return mixed The database connection used by this AR class.

behaviors\AttributeTypecastBehavior clearAutoDetectedAttributeTypes()

clearAutoDetectedAttributeTypes() public static method Clears internal static cache of auto detected $attributeTypes values over all affected owner classes. public static void clearAutoDetectedAttributeTypes ( )

validators\IpValidator $subnet

$subnet public property Whether the address can be an IP with CIDR subnet, like 192.168.10.0/24. The following values are possible: false - the address must not have a subnet (default). true - specifying a subnet is required. null - specifying a subnet is optional. public boolean $subnet = false

sphinx\ActiveDataProvider setMeta()

setMeta() public method public void setMeta ( $meta )$meta array Search query meta info

validators\NumberValidator $numberPattern

$numberPattern public property The regular expression for matching numbers. It defaults to a pattern that matches floating numbers with optional exponential part (e.g. -1.23e-10). public string $numberPattern = '/^\s*[-+]?[0-9]*\.?[0-9]+([eE][-+]?[0-9]+)?\s*$/'

sphinx\ActiveFixture init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

sphinx\ActiveDataProvider getMeta()

getMeta() public method public array getMeta ( )return array Search query meta info

Entry Scripts

Web Applications Console Applications Defining Constants Entry scripts are the first step in the application bootstrapping process. An application (either Web application or console application) has a single entry script. End users make requests to entry scripts which instantiate application instances and forward the requests to them. Entry scripts for Web applications must be stored under Web accessible directories so that they can be accessed by end users. They are often named as index.php,

mongodb\Migration insert()

insert() public method Inserts new data into collection. public \MongoDB\BSON\ObjectID insert ( $collection, $data, $options = [] )$collection array|string Collection name. $data array|object Data to be inserted. $options array List of options in format: optionName => optionValue. return \MongoDB\BSON\ObjectID New record id instance.