Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • Button
  • CheckBox
  • CollectionEditor
  • Columns
  • ElementList
  • ElementModule
  • ElementRenderer
  • Fieldset
  • FieldsetSwitch
  • FileUpload
  • Form
  • Hidden
  • ObjectPicker
  • ObjectsCollection
  • Panel
  • ProgressBar
  • RadioButton
  • Selector
  • Slider
  • Tabs
  • TextArea
  • TextInput
  • TextLabel
  • TextList
  • Overview
  • Namespace
  • Class
  • Deprecated

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
Extended by Nethgui\Widget\XhtmlWidget implements Nethgui\View\CommandReceiverInterface
Extended by Nethgui\Widget\Xhtml\TextList
Namespace: Nethgui\Widget\Xhtml
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Located at Widget/Xhtml/TextList.php
Methods summary
protected
# renderContent( )

Overrides

Nethgui\Widget\AbstractWidget::renderContent()
Methods inherited from Nethgui\Widget\XhtmlWidget
applyDefaultLabelAlignment(), canEscapeUnobstrusive(), closeTag(), controlTag(), escapeUnobstrusive(), executeCommand(), getChoices(), getControlName(), getJsWidgetTypes(), getRenderer(), getTranslateClosure(), hashToDatasource(), insertPlugins(), labeledControlTag(), openTag(), optGroups(), render(), selfClosingTag()
Methods inherited from Nethgui\Widget\AbstractWidget
__construct(), __toString(), getAttribute(), getChildren(), getClientEventTarget(), getInstanceCounter(), getLog(), hasAttribute(), hasChildren(), insert(), prepend(), renderChildren(), setAttribute(), setLog(), wrapChild()
Properties inherited from Nethgui\Widget\AbstractWidget
$view
Nethgui Framework API documentation generated by ApiGen