Class TextList
Show an array of strings formatted as a list
Attributes
- separator Text inserted between list elements (ex: ", ")
- tag A slash "/" separated list of three tags: 1. widget tag (default DIV) 2. list tag (default UL) 3. element tag (default LI)
You can specify the class attribute to set on the list and element tag, by appending .class to the tag name.
Example $textList->setAttribute('tag', 'div/span.wrap/span.el');
Prints
<
div class="TextList ...">...
- Nethgui\Widget\AbstractWidget implements Nethgui\Renderer\WidgetInterface, Nethgui\Log\LogConsumerInterface
- Nethgui\Widget\XhtmlWidget implements Nethgui\View\CommandReceiverInterface
- Nethgui\Widget\Xhtml\TextList
Namespace: Nethgui\Widget\Xhtml
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Widget/Xhtml/TextList.php
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Widget/Xhtml/TextList.php
protected
|
$view
|