helpers\BaseInflector variablize()

variablize() public static method Same as camelize but first char is in lowercase. Converts a word like "send_email" to "sendEmail". It will remove non alphanumeric character from the word, so "who's online" will be converted to "whoSOnline" public static string variablize ( $word )$word string To lowerCamelCase

base\Model offsetUnset()

offsetUnset() public method Sets the element value at the specified offset to null. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like unset($model[$offset]). public void offsetUnset ( $offset )$offset mixed The offset to unset element

mongodb\Cache $cacheCollection

$cacheCollection public property The name of the MongoDB collection that stores the cache data. Please refer to yii\mongodb\Connection::getCollection() on how to specify this parameter. This collection is better to be pre-created with fields 'id' and 'expire' indexed. public string|array $cacheCollection = 'cache'

db\Command setSql()

setSql() public method Specifies the SQL statement to be executed. The previous SQL execution (if any) will be cancelled, and $params will be cleared as well. public $this setSql ( $sql )$sql string The SQL statement to be set. return $this This command instance

mongodb\file\Collection setPrefix()

setPrefix() public method public void setPrefix ( $prefix )$prefix string Prefix of this file collection.

mongodb\file\Download write()

write() public method Alias of toFile() method. public integer write ( $filename )$filename string Name of the physical file. return integer Number of written bytes.

db\BaseActiveRecord $isNewRecord

$isNewRecord public property Whether the record is new and should be inserted when calling save(). public boolean getIsNewRecord ( )public void setIsNewRecord ( $value )

mongodb\ActiveFixture getData()

getData() protected method Returns the fixture data. This method is called by \yii\mongodb\loadData() to get the needed fixture data. The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return an array of data rows (column name => column value), each corresponding to a row in the collection. If the data file does not exist, an empty array will be returned. protected array getData ( )return array The data

gii\console\GenerateController getActionHelp()

getActionHelp() public method Returns the detailed help information for the specified action. public string getActionHelp ( $action )$action yii\base\Action Action to get help for return string The detailed help information for the specified action.

mongodb\rbac\MongoDbManager getRolesByUser()

getRolesByUser() public method Returns the roles that are assigned to the user via assign(). Note that child roles that are not assigned directly to the user will not be returned. public yii\rbac\Role[] getRolesByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Role[] All roles directly assigned to the user. The array is indexed by the role names.