PHP 클래스 Texy\Modifier

Modifiers are texts like .(title)[class1 class2 #id]{color: red}>^ . starts with dot (...) title or alt modifier [...] classes or ID modifier {...} inner style modifier < > <> = horizontal align modifier ^ - _ vertical align modifier
상속: use trait Strict
파일 보기 프로젝트 열기: dg/texy 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$attrs of HTML element attributes
$cite string
$classes of classes (as keys)
$elAttrs list of properties which are regarded as HTML element attributes
$hAlign string
$id string
$styles of CSS styles
$title string
$vAlign string

공개 메소드들

메소드 설명
__construct ( $mod = NULL )
decorate ( Texy $texy, HtmlElement $el ) : void Decorates HtmlElement element.
setProperties ( $mod )

메소드 상세

__construct() 공개 메소드

public __construct ( $mod = NULL )

decorate() 공개 메소드

Decorates HtmlElement element.
public decorate ( Texy $texy, HtmlElement $el ) : void
$texy Texy
$el HtmlElement
리턴 void

setProperties() 공개 메소드

public setProperties ( $mod )

프로퍼티 상세

$attrs 공개적으로 프로퍼티

of HTML element attributes
public $attrs

$cite 공개적으로 프로퍼티

public string $cite
리턴 string

$classes 공개적으로 프로퍼티

of classes (as keys)
public $classes

$elAttrs 공개적으로 정적으로 프로퍼티

list of properties which are regarded as HTML element attributes
public static $elAttrs

$hAlign 공개적으로 프로퍼티

public string $hAlign
리턴 string

$id 공개적으로 프로퍼티

public string $id
리턴 string

$styles 공개적으로 프로퍼티

of CSS styles
public $styles

$title 공개적으로 프로퍼티

public string $title
리턴 string

$vAlign 공개적으로 프로퍼티

public string $vAlign
리턴 string