PHP 클래스 schmunk42\giiant\generators\crud\Generator

부터: 1.0
저자: Tobais Munk ([email protected])
상속: extends yii\gii\generators\crud\Generator
파일 보기 프로젝트 열기: schmunk42/yii2-giiant 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$accessFilter whether to add an access filter to controllers
$actionButtonClass string
$baseTraits
$controllerNs controller base namespace
$fixOutput whether to use php-cs-fixer to generate PSR compatible output
$formLayout Bootstrap CSS-class for form-layout
$generateAccessFilterMigrations
$gridMaxColumns maximum number of columns to show in grid
$gridRelationMaxColumns maximum number of columns to show in grid
$indexGridClass
$messageCategory translation catalogue
$migrationClass
$modelMessageCategory translation catalogue for model related translations
$moduleNs
$overwriteControllerClass whether to overwrite extended controller classes
$overwriteRestControllerClass whether to overwrite rest/api controller classes
$overwriteSearchModelClass whether to overwrite search classes
$pathPrefix prefix for controller route, eg. when generating controllers into subfolders
$providerList comma separated list of provider classes
$requires array of composer packages (only to show information to the developer in the web UI)
$savedForm form field for selecting and loading saved gii forms
$singularEntities whether to convert controller name to singular
$skipRelations relations to be excluded in UI rendering
$tablePrefix table prefix to be removed from class names when auto-detecting model names, eg. app_ converts table app_foo into Foo
$tidyOutput whether to use phptidy on renderer files before saving
$viewPath default view path

공개 메소드들

메소드 설명
formAttributes ( ) : array all form fields for saving in saved forms.
generate ( )
getControllerID ( ) : string
getDescription ( )
getModuleId ( ) : string
getName ( )
getViewPath ( ) : string
hints ( )
init ( )
render ( $template, $params = [] )
rules ( )
stickyAttributes ( )
successMessage ( )
validateClass ( $attribute, $params )
var_export54 ( $var, $indent = '' ) TODO: replace with VarDumper::export

메소드 상세

formAttributes() 공개 메소드

all form fields for saving in saved forms.
public formAttributes ( ) : array
리턴 array

generate() 공개 메소드

public generate ( )

getControllerID() 공개 메소드

public getControllerID ( ) : string
리턴 string the controller ID (without the module ID prefix)

getDescription() 공개 메소드

public getDescription ( )

getModuleId() 공개 메소드

public getModuleId ( ) : string
리턴 string the controller ID (without the module ID prefix)

getName() 공개 메소드

public getName ( )

getViewPath() 공개 메소드

public getViewPath ( ) : string
리턴 string the action view file path

hints() 공개 메소드

public hints ( )

init() 공개 메소드

public init ( )

render() 공개 메소드

public render ( $template, $params = [] )

rules() 공개 메소드

public rules ( )

stickyAttributes() 공개 메소드

public stickyAttributes ( )

successMessage() 공개 메소드

public successMessage ( )

validateClass() 공개 메소드

public validateClass ( $attribute, $params )

var_export54() 공개 메소드

TODO: replace with VarDumper::export
public var_export54 ( $var, $indent = '' )

프로퍼티 상세

$accessFilter 공개적으로 프로퍼티

whether to add an access filter to controllers
public $accessFilter

$actionButtonClass 공개적으로 프로퍼티

public string $actionButtonClass
리턴 string

$baseTraits 공개적으로 프로퍼티

public $baseTraits

$controllerNs 공개적으로 프로퍼티

controller base namespace
public $controllerNs

$fixOutput 공개적으로 프로퍼티

whether to use php-cs-fixer to generate PSR compatible output
public $fixOutput

$formLayout 공개적으로 프로퍼티

Bootstrap CSS-class for form-layout
public $formLayout

$generateAccessFilterMigrations 공개적으로 프로퍼티

public $generateAccessFilterMigrations

$gridMaxColumns 공개적으로 프로퍼티

maximum number of columns to show in grid
public $gridMaxColumns

$gridRelationMaxColumns 공개적으로 프로퍼티

maximum number of columns to show in grid
public $gridRelationMaxColumns

$indexGridClass 공개적으로 프로퍼티

public $indexGridClass

$messageCategory 공개적으로 프로퍼티

translation catalogue
public $messageCategory

$migrationClass 공개적으로 프로퍼티

public $migrationClass

$modelMessageCategory 공개적으로 프로퍼티

translation catalogue for model related translations
public $modelMessageCategory

$moduleNs 공개적으로 프로퍼티

public $moduleNs

$overwriteControllerClass 공개적으로 프로퍼티

whether to overwrite extended controller classes
public $overwriteControllerClass

$overwriteRestControllerClass 공개적으로 프로퍼티

whether to overwrite rest/api controller classes
public $overwriteRestControllerClass

$overwriteSearchModelClass 공개적으로 프로퍼티

whether to overwrite search classes
public $overwriteSearchModelClass

$pathPrefix 공개적으로 프로퍼티

prefix for controller route, eg. when generating controllers into subfolders
public $pathPrefix

$providerList 공개적으로 프로퍼티

comma separated list of provider classes
public $providerList

$requires 공개적으로 프로퍼티

array of composer packages (only to show information to the developer in the web UI)
public $requires

$savedForm 공개적으로 프로퍼티

form field for selecting and loading saved gii forms
public $savedForm

$singularEntities 공개적으로 프로퍼티

whether to convert controller name to singular
public $singularEntities

$skipRelations 공개적으로 프로퍼티

relations to be excluded in UI rendering
public $skipRelations

$tablePrefix 공개적으로 프로퍼티

table prefix to be removed from class names when auto-detecting model names, eg. app_ converts table app_foo into Foo
public $tablePrefix

$tidyOutput 공개적으로 프로퍼티

whether to use phptidy on renderer files before saving
public $tidyOutput

$viewPath 공개적으로 프로퍼티

default view path
public $viewPath