PHP 클래스 AttributeRender

파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

공개 메소드들

메소드 설명
renderField ( $attribute, null $value = null, null $name = null, array $htmlOptions = [] ) : mixed | null | string
renderValue ( Attribute $attribute, $value, $template = '<p>{item}</p>' ) : string

메소드 상세

renderField() 공개 정적인 메소드

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

renderValue() 공개 정적인 메소드

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