PHP 클래스 Themosis\Html\HtmlBuilder

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

공개 메소드들

메소드 설명
attributes ( array $attributes ) : string Build a list of HTML attributes from an array.
entities ( string $value ) : string Convert HTML characters to entities.

메소드 상세

attributes() 공개 메소드

Build a list of HTML attributes from an array.
public attributes ( array $attributes ) : string
$attributes array An array of html tag attributes.
리턴 string The html attributes output.

entities() 공개 메소드

Convert HTML characters to entities.
public entities ( string $value ) : string
$value string A character to encode.
리턴 string The encoded character.