PHP Class 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
Mostra file
Open project: dg/texy
Class Usage Examples
Public Properties
Public Methods
Method Details
__construct()
public method
Decorates HtmlElement element.
public decorate ( Texy $texy, HtmlElement $el ) : void |
$texy |
Texy |
|
$el |
HtmlElement |
|
return |
void |
|
setProperties()
public method
Property Details
$attrs public_oe property
of HTML element attributes
public string $cite |
return |
string |
|
$classes public_oe property
$elAttrs public_oe static_oe property
list of properties which are regarded as HTML element attributes
$hAlign public_oe property
public string $hAlign |
return |
string |
|
public string $id |
return |
string |
|
$styles public_oe property
$title public_oe property
public string $title |
return |
string |
|
$vAlign public_oe property
public string $vAlign |
return |
string |
|