当前位置: 首页>>代码示例>>PHP>>正文


PHP Generator::attributeLabels方法代码示例

本文整理汇总了PHP中yii\gii\Generator::attributeLabels方法的典型用法代码示例。如果您正苦于以下问题:PHP Generator::attributeLabels方法的具体用法?PHP Generator::attributeLabels怎么用?PHP Generator::attributeLabels使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在yii\gii\Generator的用法示例。


在下文中一共展示了Generator::attributeLabels方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: attributeLabels

 /**
  * @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',
     ]);
 }
开发者ID:jplagahit,项目名称:brdsdev,代码行数:15,代码来源:Generator.php

示例2: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['db' => 'Database Connection ID', 'nsTraits' => 'Trait Namespace', 'modelClass' => 'Model Class', 'generateQuery' => 'Generate ActiveQuery', 'queryNs' => 'ActiveQuery Namespace', 'queryClass' => 'ActiveQuery Class', 'nsModel' => 'Model Namespace', 'nsSearchModel' => 'Search Model Namespace', 'UUIDColumn' => 'UUID Column', 'nsController' => 'Controller Namespace', 'viewPath' => 'View Path', 'baseControllerClass' => 'Base Controller Class', 'indexWidgetType' => 'Widget Used in Index Page', 'searchModelClass' => 'Search Model Class', 'expandable' => 'Expandable / Collapsible Index Grid View', 'exportable' => 'Exportable Index Grid View', 'pdf' => 'PDF Printable View']);
 }
开发者ID:highestgoodlikewater,项目名称:yii2-enhanced-gii,代码行数:7,代码来源:Generator.php

示例3: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class', 'controllerClass' => 'Controller Class', 'nsController' => 'Controller Namespace', 'viewPath' => 'View Path', 'baseControllerClass' => 'Base Controller Class', 'indexWidgetType' => 'Widget Used in Index Page', 'nsSearchModel' => 'Search Model Namespace', 'searchModelClass' => 'Search Model Class', 'actions' => 'Action IDs', 'enableVerbFilter' => 'Enable Verb Filter']);
 }
开发者ID:singletonn,项目名称:yii2-gii,代码行数:7,代码来源:Generator.php

示例4: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class', 'viewName' => 'View Name', 'viewPath' => 'View Path', 'scenarioName' => 'Scenario']);
 }
开发者ID:diandianxiyu,项目名称:Yii2Api,代码行数:7,代码来源:Generator.php

示例5: attributeLabels

 public function attributeLabels()
 {
     return ArrayHelper::merge(parent::attributeLabels(), ['fields' => 'Table fields']);
 }
开发者ID:infinitydevphp,项目名称:infinity-gii,代码行数:4,代码来源:Generator.php

示例6: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['migrationPath' => 'Migration Path', 'db' => 'Database Connection ID', 'tableName' => 'Table Name', 'migrationName' => 'Migration Name', 'migrationTime' => 'Migration Time', 'generateRelations' => 'Generate Relations']);
 }
开发者ID:deesoft,项目名称:yii2-dev,代码行数:7,代码来源:Generator.php

示例7: attributeLabels

 /**
  * @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', 'generateQuery' => 'Generate ActiveQuery', 'queryNs' => 'ActiveQuery Namespace', 'queryClass' => 'ActiveQuery Class', 'queryBaseClass' => 'ActiveQuery Base Class', 'useSchemaName' => 'Use Schema Name']);
 }
开发者ID:omnilight,项目名称:yz2-gii,代码行数:7,代码来源:Generator.php

示例8: attributeLabels

 /**
  * @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', 'enableLanguage' => 'Enable Language CRUD']);
 }
开发者ID:pavlinter,项目名称:yii2-adm-app,代码行数:7,代码来源:Generator.php

示例9: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ArrayHelper::merge(parent::attributeLabels(), ['modelClass' => 'Base model class', 'relationDepth' => 'Maximum depth of relations', 'generationDepth' => 'Maximum depth of relational data', 'strategy' => 'Secondary fixtures overwrite strategy', 'query' => 'PHP expression which generates ActiveQuery object']);
 }
开发者ID:understeam,项目名称:yii2-fixture-generator,代码行数:7,代码来源:FixtureGenerator.php

示例10: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class', 'controllerClass' => 'Controller Class', 'viewPath' => 'View Path', 'baseControllerClass' => 'Base Controller Class', 'searchModelClass' => 'Search Model Class', 'gridWidgetBodered' => 'Bodered', 'gridWidgetStriped' => 'Striped', 'gridWidgetCondensed' => 'Condensed', 'gridWidgetResponsive' => 'Responsive', 'gridWidgetResponsiveWrap' => 'ResponsiveWrap', 'gridWidgetHover' => 'Hover', 'gridWidgetPageSummary' => 'Page Summary', 'gridWidgetShowFooter' => 'Show Footer', 'gridWidgetPanelType' => 'Panel Type', 'gridWidgetCaption' => 'Caption', 'gridWidgetExport' => 'Enable Export Funtion', 'gridWidgetExportHtml' => 'Export Html', 'gridWidgetExportCsv' => 'Export Csv', 'gridWidgetExportExcel' => 'Export Excel', 'gridWidgetExportText' => 'Export Text', 'gridWidgetExportJson' => 'Export Json', 'gridWidgetExportPdf' => 'Export Pdf', 'gridWidgetBulkAction' => 'Bulk Action Column', 'gridWidgetPanelHeading' => 'Panel Heading', 'gridWidgetContentBeforeGrid' => 'Content Before Grid', 'gridWidgetContentAfterGrid' => 'Content After Grid', 'gridWidgetActionButton' => 'Display Action Buttons']);
 }
开发者ID:callmez,项目名称:yii2-ajaxcrud,代码行数:7,代码来源:Generator.php

示例11: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return ArrayHelper::merge(parent::attributeLabels(), ['indexFormat' => 'Index Format', 'foreignKeyFormat' => 'Foreign Key Format', 'migrationPath' => 'Migration Path', 'db' => 'Database Connection Id', 'baseClass' => 'Base Class', 'usePrefix' => 'Use Table Prefix', 'safe' => 'Use Safe Functions', 'migrationName' => 'Migration Name']);
 }
开发者ID:blumster,项目名称:yii2-gii-migration-designer,代码行数:7,代码来源:Generator.php

示例12: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['ns' => 'Namespace ()', 'tableName' => 'Table Name', 'modelClass' => 'Model Class', 'baseClass' => 'Base Class', 'generateRelations' => 'Generate Relations']);
 }
开发者ID:trandangtri,项目名称:yii2-giiall,代码行数:7,代码来源:Generator.php

示例13: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class']);
 }
开发者ID:platx,项目名称:yii2-gii,代码行数:7,代码来源:Generator.php

示例14: attributeLabels

 /**
  * @inheritdoc
  */
 public function attributeLabels()
 {
     return array_merge(parent::attributeLabels(), ['ns' => 'Model Namespace', 'db' => 'Database Connection ID', 'tableName' => 'Table Name', 'modelClass' => 'Model Class', 'baseClass' => 'Model Base Class', 'generateRelations' => 'Generate Relations', 'generateLabelsFromComments' => 'Generate Labels from DB Comments', 'generateQuery' => 'Generate ActiveQuery', 'queryNs' => 'ActiveQuery Namespace', 'queryClass' => 'ActiveQuery Class', 'queryBaseClass' => 'ActiveQuery Base Class', 'addingI18NStrings' => 'Adding I18N Strings', 'messagesPaths' => 'I18N Messages Path', 'imagesDomain' => 'Images Domain']);
 }
开发者ID:mervick,项目名称:yii2-adminlte-gii,代码行数:7,代码来源:Generator.php


注:本文中的yii\gii\Generator::attributeLabels方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。