PHP 트레잇 schmunk42\giiant\generators\crud\ProviderTrait

파일 보기 프로젝트 열기: schmunk42/yii2-giiant

공개 메소드들

메소드 설명
activeField ( $attribute, null $model = null ) : mixed | string Generates code for active field by using the provider queue.
appendActiveField ( $attribute, $model = null )
attributeEditable ( $attribute, $model = null )
attributeFormat ( $attribute, $model = null )
columnFormat ( $attribute, $model = null )
generateProviderCheckboxListData ( ) : array
getCoreProviders ( ) : array
partialView ( $name, $model = null )
prependActiveField ( $attribute, $model = null )
relationGrid ( $name, $relation, $showAllRecords = false )
relationGridEditable ( $name, $relation, $showAllRecords = false )

보호된 메소드들

메소드 설명
callProviderQueue ( $func, $args, $generator )
initializeProviders ( )
shorthandAttributeFormat ( $attribute, $model )

메소드 상세

activeField() 공개 메소드

Generates code for active field by using the provider queue.
public activeField ( $attribute, null $model = null ) : mixed | string
$model null
리턴 mixed | string

appendActiveField() 공개 메소드

public appendActiveField ( $attribute, $model = null )

attributeEditable() 공개 메소드

public attributeEditable ( $attribute, $model = null )

attributeFormat() 공개 메소드

public attributeFormat ( $attribute, $model = null )

callProviderQueue() 보호된 메소드

protected callProviderQueue ( $func, $args, $generator )

columnFormat() 공개 메소드

public columnFormat ( $attribute, $model = null )

generateProviderCheckboxListData() 공개 메소드

public generateProviderCheckboxListData ( ) : array
리턴 array List of providers. Keys and values contain the same strings

getCoreProviders() 공개 정적인 메소드

public static getCoreProviders ( ) : array
리턴 array Class names of the providers declared directly under crud/providers folder

initializeProviders() 보호된 메소드

protected initializeProviders ( )

partialView() 공개 메소드

public partialView ( $name, $model = null )

prependActiveField() 공개 메소드

public prependActiveField ( $attribute, $model = null )

relationGrid() 공개 메소드

public relationGrid ( $name, $relation, $showAllRecords = false )

relationGridEditable() 공개 메소드

public relationGridEditable ( $name, $relation, $showAllRecords = false )

shorthandAttributeFormat() 보호된 메소드

protected shorthandAttributeFormat ( $attribute, $model )