PHP Class Nvd\Crud\Html

Afficher le fichier Open project: engrnvd/laravel-crud-generator Class Usage Examples

Méthodes publiques

Méthode Description
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 )

Method Details

editable() public static méthode

public static editable ( $record, $field ) : string
$record Model
$field
Résultat string

endTag() public static méthode

public static endTag ( $tag )

getInputType() public static méthode

public static getInputType ( $field )

getSourceForEnum() public static méthode

public static getSourceForEnum ( $field )

select() public static méthode

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

selectRequested() public static méthode

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

sortableTh() public static méthode

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

startTag() public static méthode

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