PHP 클래스 mootensai\enhancedgii\model\Generator

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends yii\gii\Generator
파일 보기 프로젝트 열기: mootensai/yii2-enhanced-gii

공개 프로퍼티들

프로퍼티 타입 설명
$UUIDColumn
$blameableValue
$createdAt
$createdBy
$deletedAt
$deletedBy
$generateAttributeHints
$generateBaseOnly
$generateLabelsFromComments
$generateMigrations
$generateQuery
$generateRelations
$hiddenColumns
$isTree
$nameAttribute
$nsModel * @var $tableSchema TableSchema
$optimisticLock
$queryBaseClass
$queryClass
$queryNs
$skippedColumns
$timestampValue
$updatedAt
$updatedBy
$useTablePrefix

공개 메소드들

메소드 설명
attributeLabels ( )
generate ( )
generateLabels ( yii\db\TableSchema $table ) : array Generates the attribute labels for the specified table.
generateRules ( yii\db\TableSchema $table ) : array Generates validation rules for the specified table.
getDescription ( )
getName ( )
hints ( )
requiredTemplates ( )
rules ( )
stickyAttributes ( )

보호된 메소드들

메소드 설명
generateQueryClassName ( string $modelClassName ) : string Generates a query class name from the specified model class name.
isColumnAutoIncremental ( yii\db\TableSchema $table, array $columns ) : boolean Checks if any of the specified columns is auto incremental.

메소드 상세

attributeLabels() 공개 메소드

public attributeLabels ( )

generate() 공개 메소드

public generate ( )

generateLabels() 공개 메소드

Generates the attribute labels for the specified table.
public generateLabels ( yii\db\TableSchema $table ) : array
$table yii\db\TableSchema the table schema
리턴 array the generated attribute labels (name => label)

generateQueryClassName() 보호된 메소드

Generates a query class name from the specified model class name.
protected generateQueryClassName ( string $modelClassName ) : string
$modelClassName string model class name
리턴 string generated class name

generateRules() 공개 메소드

Generates validation rules for the specified table.
public generateRules ( yii\db\TableSchema $table ) : array
$table yii\db\TableSchema the table schema
리턴 array the generated validation rules

getDescription() 공개 메소드

public getDescription ( )

getName() 공개 메소드

public getName ( )

hints() 공개 메소드

public hints ( )

isColumnAutoIncremental() 보호된 메소드

Checks if any of the specified columns is auto incremental.
protected isColumnAutoIncremental ( yii\db\TableSchema $table, array $columns ) : boolean
$table yii\db\TableSchema the table schema
$columns array columns to check for autoIncrement property
리턴 boolean whether any of the specified columns is auto incremental.

requiredTemplates() 공개 메소드

public requiredTemplates ( )

rules() 공개 메소드

public rules ( )

stickyAttributes() 공개 메소드

public stickyAttributes ( )

프로퍼티 상세

$UUIDColumn 공개적으로 프로퍼티

public $UUIDColumn

$blameableValue 공개적으로 프로퍼티

public $blameableValue

$createdAt 공개적으로 프로퍼티

public $createdAt

$createdBy 공개적으로 프로퍼티

public $createdBy

$deletedAt 공개적으로 프로퍼티

public $deletedAt

$deletedBy 공개적으로 프로퍼티

public $deletedBy

$generateAttributeHints 공개적으로 프로퍼티

public $generateAttributeHints

$generateBaseOnly 공개적으로 프로퍼티

public $generateBaseOnly

$generateLabelsFromComments 공개적으로 프로퍼티

public $generateLabelsFromComments

$generateMigrations 공개적으로 프로퍼티

public $generateMigrations

$generateQuery 공개적으로 프로퍼티

public $generateQuery

$generateRelations 공개적으로 프로퍼티

public $generateRelations

$hiddenColumns 공개적으로 프로퍼티

public $hiddenColumns

$isTree 공개적으로 프로퍼티

public $isTree

$nameAttribute 공개적으로 프로퍼티

public $nameAttribute

$nsModel 공개적으로 프로퍼티

* @var $tableSchema TableSchema
public $nsModel

$optimisticLock 공개적으로 프로퍼티

public $optimisticLock

$queryBaseClass 공개적으로 프로퍼티

public $queryBaseClass

$queryClass 공개적으로 프로퍼티

public $queryClass

$queryNs 공개적으로 프로퍼티

public $queryNs

$skippedColumns 공개적으로 프로퍼티

public $skippedColumns

$timestampValue 공개적으로 프로퍼티

public $timestampValue

$updatedAt 공개적으로 프로퍼티

public $updatedAt

$updatedBy 공개적으로 프로퍼티

public $updatedBy

$useTablePrefix 공개적으로 프로퍼티

public $useTablePrefix