コード例 #1
0
ファイル: Generator.php プロジェクト: tejrajs/yii2RestAPI
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class', 'moduleID' => 'Module ID', 'controllerClass' => 'Controller Class', 'baseControllerClass' => 'Base Controller Class', 'indexWidgetType' => 'Widget Used in Index Page', 'searchModelClass' => 'Search Model Class']);
 }
コード例 #2
0
ファイル: Generator.php プロジェクト: tejrajs/yii2RestAPI
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class', 'viewName' => 'View Name', 'viewPath' => 'View Path', 'scenarioName' => 'Scenario']);
 }
コード例 #3
0
ファイル: Generator.php プロジェクト: tejrajs/yii2RestAPI
 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['ns' => 'Namespace', 'db' => 'Database Connection ID', 'tableName' => 'Table Name', 'modelClass' => 'Model Class', 'baseClass' => 'Base Class', 'generateRelations' => 'Generate Relations', 'generateLabelsFromComments' => 'Generate Labels from DB Comments']);
 }