mongodb\gii\model\Generator attributeLabels()

attributeLabels() public method Returns the attribute labels. Attribute labels are mainly used for display purpose. For example, given an attribute firstName, we can declare a label First Name which is more user-friendly and can be displayed to end users. By default an attribute label is generated using generateAttributeLabel(). This method allows you to explicitly specify attribute labels. Note, in order to inherit labels defined in the parent class, a child class needs to merge the parent

mongodb\gii\model\Generator $name

$name public read-only property Name of the code generator public string getName ( )

mongodb\gii\model\Generator $modelClass

$modelClass public property public $modelClass = null

mongodb\gii\model\Generator autoCompleteData()

autoCompleteData() public method Returns the list of auto complete values. The array keys are the attribute names, and the array values are the corresponding auto complete values. Auto complete values can also be callable typed in order one want to make postponed data generation. public array autoCompleteData ( )return array The list of auto complete values

mongodb\gii\model\Generator $ns

$ns public property public $ns = 'app\models'

mongodb\gii\model\Generator $databaseName

$databaseName public property public $databaseName = null

mongodb\gii\model\Generator $description

$description public read-only property The detailed description of the generator. public string getDescription ( )

mongodb\gii\model\Generator $collectionName

$collectionName public property public $collectionName = null

mongodb\gii\model\Generator $db

$db public property public $db = 'mongodb'

mongodb\gii\model\Generator $attributeList

$attributeList public property public $attributeList = null