本文整理汇总了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',
]);
}
示例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']);
}
示例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']);
}
示例4: attributeLabels
/**
* @inheritdoc
*/
public function attributeLabels()
{
return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class', 'viewName' => 'View Name', 'viewPath' => 'View Path', 'scenarioName' => 'Scenario']);
}
示例5: attributeLabels
public function attributeLabels()
{
return ArrayHelper::merge(parent::attributeLabels(), ['fields' => 'Table fields']);
}
示例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']);
}
示例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']);
}
示例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']);
}
示例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']);
}
示例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']);
}
示例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']);
}
示例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']);
}
示例13: attributeLabels
/**
* @inheritdoc
*/
public function attributeLabels()
{
return array_merge(parent::attributeLabels(), ['modelClass' => 'Model Class']);
}
示例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']);
}