gii\Generator formView()

formView() public method Returns the view file for the input form of the generator. The default implementation will return the "form.php" file under the directory that contains the generator class file. public string formView ( )return string The view file for the input form of the generator.

base\Module setAliases()

setAliases() public method Defines path aliases. This method calls Yii::setAlias() to register the path aliases. This method is provided so that you can define path aliases when configuring a module. public void setAliases ( $aliases )$aliases array List of path aliases to be defined. The array keys are alias names (must start with @) and the array values are the corresponding paths or aliases. For example, [ '@models' => '@app/models', // an existing alias '@backend' => __

mongodb\console\controllers\MigrateController removeMigrationHistory()

removeMigrationHistory() protected method Removes existing migration from the history. protected void removeMigrationHistory ( $version )$version string Migration version name.

mongodb\ActiveRecord collectionName()

collectionName() public static method Declares the name of the Mongo collection associated with this AR class. Collection name can be either a string or array: if string considered as the name of the collection inside the default database. if array - first element considered as the name of the database, second - as name of collection inside that database By default this method returns the class name as the collection name by calling yii\helpers\Inflector::camel2id(). For example, 'Customer'

mongodb\file\Cursor setTypeMap()

setTypeMap() public method Sets a type map to use for BSON unserialization. public void setTypeMap ( $typemap )$typemap array Type map.

widgets\ActiveField passwordInput()

passwordInput() public method Renders a password input. This method will generate the name and value tag attributes automatically for the model attribute unless they are explicitly specified in $options. public $this passwordInput ( $options = [] )$options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using yii\helpers\Html::encode(). If you set a custom id for the input element, you may

filters\AccessRule $denyCallback

$denyCallback public property A callback that will be called if this rule determines the access to the current action should be denied. If not set, the behavior will be determined by yii\filters\AccessControl. The signature of the callback should be as follows: function ($rule, $action) where $rule is this rule, and $action is the current action object. public callable $denyCallback = null

mongodb\Query fetchRows()

fetchRows() protected method Fetches rows from the given Mongo cursor. protected array|boolean fetchRows ( $cursor, $all = true, $indexBy = null )$cursor \MongoDB\Driver\Cursor Mongo cursor instance to fetch data from. $all boolean Whether to fetch all rows or only first one. $indexBy string|callable The column name or PHP callback, by which the query results should be indexed by. return array|boolean Result. throws yii\mongodb\Exception on failure.

gii\generators\crud\Generator getDescription()

getDescription() public method public string getDescription ( )return string The detailed description of the generator.

grid\Column renderFooterCellContent()

renderFooterCellContent() protected method Renders the footer cell content. The default implementation simply renders $footer. This method may be overridden to customize the rendering of the footer cell. protected string renderFooterCellContent ( )return string The rendering result