Class XhtmlWidget
An abstract widget that renders an XHTML string
- Nethgui\Widget\AbstractWidget implements Nethgui\Renderer\WidgetInterface, Nethgui\Log\LogConsumerInterface
- Nethgui\Widget\XhtmlWidget implements Nethgui\View\CommandReceiverInterface
Direct known subclasses
Nethgui\Widget\Xhtml\Button, Nethgui\Widget\Xhtml\CheckBox, Nethgui\Widget\Xhtml\Selector, Nethgui\Widget\Xhtml\Slider, Nethgui\Widget\Xhtml\Tabs, Nethgui\Widget\Xhtml\TextArea, Nethgui\Widget\Xhtml\TextInput, Nethgui\Widget\Xhtml\TextLabel, Nethgui\Widget\Xhtml\TextList, Nethgui\Widget\Xhtml\CollectionEditor, Nethgui\Widget\Xhtml\ElementList, Nethgui\Widget\Xhtml\FieldsetSwitch, Nethgui\Widget\Xhtml\Hidden, Nethgui\Widget\Xhtml\ObjectPicker, Nethgui\Widget\Xhtml\ObjectsCollection, Nethgui\Widget\Xhtml\Panel, Nethgui\Widget\Xhtml\RadioButtonIndirect known subclasses
Nethgui\Widget\Xhtml\Columns, Nethgui\Widget\Xhtml\Fieldset, Nethgui\Widget\Xhtml\FileUpload, Nethgui\Widget\Xhtml\Form, Nethgui\Widget\Xhtml\ProgressBar
protected
|
|
protected
string
|
#
labeledControlTag( string $label, string $tag, string $name, integer $flags, string $cssClass = '', array $attributes = array(), string $tagContent = '' )
Generate XHTML markup fragment for a FORM control with a LABEL tag |
protected
string
|
#
controlTag( string $tag, string|array $name, integer $flags, string $cssClass = '', array $attributes = array(), $tagContent = '' )
Generate XHTML markup for a FORM control, such as INPUT, BUTTON, TEXTAREA |
protected
type
|
#
applyDefaultLabelAlignment( integer $flags, integer $default )
If no LABEL_* bit is set, apply $default bit |
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
#
getControlName( string $parts = '' )
Generate a control name for the given $parts. If no parts are given the name is generated from the module referenced by the view. |
protected
array
|
|
public
string
|
|
public
mixed
|
#
executeCommand(
Specify an implementation for the given method and arguments. |
protected
closure
|
#
getTranslateClosure( string $message, array $args = array() )
Get a closure that provides a default value for an attribute |
protected
|
|
protected
|
|
public
|
#
insertPlugins( string $name = 'Plugin' )
Insert any (sub)view object found in the view $name collection into the widget. |
protected
string
|
|
public static
|
|
protected
array
|
$view
|