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
Afficher le fichier
Open project: dg/texy
Class Usage Examples
Méthodes publiques
Méthodes publiques
Method Details
__construct()
public méthode
decorate()
public méthode
Decorates HtmlElement element.
public decorate ( Texy $texy, HtmlElement $el ) : void |
$texy |
Texy |
|
$el |
HtmlElement |
|
Résultat |
void |
|
setProperties()
public méthode
Property Details
$attrs public_oe property
of HTML element attributes
public string $cite |
Résultat |
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 |
Résultat |
string |
|
public string $id |
Résultat |
string |
|
$styles public_oe property
$title public_oe property
public string $title |
Résultat |
string |
|
$vAlign public_oe property
public string $vAlign |
Résultat |
string |
|