Class Jyxo_HtmlTag
Class for generating (x)HTML source code. Allows creating HTML tags and its attributes.
Example:
$p = Jyxo_HtmlTag::create('p')->setClass('buttons');
The magic __call() method ensures attributes settings.
$p->render();
The render() method creates the HTML output.
Final
Category: Jyxo
Package: Jyxo_Html
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Roman Řáha
Author: Štěpán Svoboda
Located at HtmlTag.php
Category: Jyxo
Package: Jyxo_Html
Copyright: Copyright (c) 2005-2011 Jyxo, s.r.o.
License: https://github.com/jyxo/php/blob/master/license.txt
Author: Roman Řáha
Author: Štěpán Svoboda
Located at HtmlTag.php
public static
|
|
public static
|
#
createFromSource( string $html )
Returns an element instance from the given source. The first and last tag will be used as the opening and closing tag respectively. Anything between those tags will be used as contents. |
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
mixed
|
|
public
mixed
|