Class Html
HTML helper.
$anchor = Html::el('a')->href($link)->setText('Nette'); $el->class = 'myclass'; echo $el; echo $el->startTag(), $el->endTag();
- Nette\Object
- Nette\Web\Html implements ArrayAccess, Countable, IteratorAggregate
public static
|
|
final public
|
|
final public
string
|
|
final public
boolean
|
|
final public
|
|
final public
mixed
&
|
|
final public
|
|
final public
|
|
final public
|
|
final public
|
|
final public
string
|
|
final public
|
|
final public
string
|
|
final public
|
|
final public
|
|
public
|
|
final public
|
#
offsetSet( integer $index,
Inserts (replaces) child node (\ArrayAccess implementation). |
final public
mixed
|
|
final public
boolean
|
|
public
|
|
final public
integer
|
|
public
|
|
final public
|
|
final public
|
|
final public
string
|
|
final public
|
|
final public
string
|
|
final public
string
|
|
final public
string
|
|
public
|
__callStatic(),
__isset(),
extensionMethod(),
getReflection()
|
public
array
|
$attrs | array() |
#
element's attributes |
protected
array
|
$children | array() |
#
of Html | string nodes |
public static
boolean
|
$xhtml | TRUE |
#
use XHTML syntax? |
public static
array
|
$emptyElements | array('img'=>1,'hr'=>1,'br'=>1,'input'=>1,'meta'=>1,'area'=>1,'command'=>1,'keygen'=>1,'source'=>1,
'base'=>1,'col'=>1,'link'=>1,'param'=>1,'basefont'=>1,'frame'=>1,'isindex'=>1,'wbr'=>1,'embed'=>1) |
#
empty elements |