PHP 클래스 Nvd\Crud\Html

파일 보기 프로젝트 열기: engrnvd/laravel-crud-generator 1 사용 예제들

공개 메소드들

메소드 설명
editable ( $record, $field ) : string
endTag ( $tag )
getInputType ( $field )
getSourceForEnum ( $field )
select ( $name, $options, $attributes = [], $selectedValue = null, $useKeysAsValues = false )
selectRequested ( $name, $options, $attributes = [], $useKeysAsValues = false )
sortableTh ( $fieldName, $route, $label = null )
startTag ( $tag, $attributes = [], $inline = false )

메소드 상세

editable() 공개 정적인 메소드

public static editable ( $record, $field ) : string
$record Model
$field
리턴 string

endTag() 공개 정적인 메소드

public static endTag ( $tag )

getInputType() 공개 정적인 메소드

public static getInputType ( $field )

getSourceForEnum() 공개 정적인 메소드

public static getSourceForEnum ( $field )

select() 공개 정적인 메소드

public static select ( $name, $options, $attributes = [], $selectedValue = null, $useKeysAsValues = false )

selectRequested() 공개 정적인 메소드

public static selectRequested ( $name, $options, $attributes = [], $useKeysAsValues = false )

sortableTh() 공개 정적인 메소드

public static sortableTh ( $fieldName, $route, $label = null )

startTag() 공개 정적인 메소드

public static startTag ( $tag, $attributes = [], $inline = false )