PHP Class AttributeRender

Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

Méthode Description
renderField ( $attribute, null $value = null, null $name = null, array $htmlOptions = [] ) : mixed | null | string
renderValue ( Attribute $attribute, $value, $template = '<p>{item}</p>' ) : string

Method Details

renderField() public static méthode

public static renderField ( $attribute, null $value = null, null $name = null, array $htmlOptions = [] ) : mixed | null | string
$attribute
$value null
$name null
$htmlOptions array
Résultat mixed | null | string

renderValue() public static méthode

public static renderValue ( Attribute $attribute, $value, $template = '<p>{item}</p>' ) : string
$attribute Attribute
$value
Résultat string