Overview

Packages

  • Actions
  • Codegen
  • Controls
    • Base
  • DatabaseAdapters
  • Events
  • None
  • Sessions
  • Tests

Classes

  • BasicForm
  • CalculatorWidget
  • DataRepeaterExample
  • ExampleCheckColumn1
  • ExampleCheckColumn2
  • ExampleSingleForm
  • NestedTabForm
  • PaginatorForm
  • ParamsForm
  • PersistentExampleForm
  • PersonEditPanel
  • PluginEditForm
  • PluginManagerForm
  • ProjectEditPanel
  • ProjectListForm
  • ProjectViewPanel
  • QAccordion
  • QActionControl
  • QAutocomplete
  • QBlockControl
  • QButton
  • QButtonBase
  • QCalendar
  • QCheckBox
  • QCheckBoxLegacyColumn
  • QCheckBoxList
  • QControl
  • QControlBase
  • QControlGrouping
  • QControlLabel
  • QCsvTextBox
  • QDataGrid
  • QDataGrid_CheckBoxColumn
  • QDataGrid_SortEvent
  • QDataGridBase
  • QDataGridLegacy
  • QDataGridLegacyBase
  • QDataGridLegacyColumn
  • QDataGridLegacyRow
  • QDataGridLegacyRowStyle
  • QDataRepeater
  • QDatepicker
  • QDatepickerBox
  • QDateTimePicker
  • QDateTimeTextBox
  • QDialog
  • QDialogBox
  • QDraggable
  • QDroppable
  • QDropZoneGrouping
  • QEmailTextBox
  • QFileAsset
  • QFileAssetBase
  • QFileAssetDialog
  • QFileControl
  • QFilterType
  • QFloatTextBox
  • QFontFamily
  • QForm
  • QFormBase
  • QHListItem
  • QHtmlAttributeManager
  • QHtmlAttributeManagerBase
  • QHtmlTable
  • QHtmlTableBase
  • QImageBase
  • QImageBrowser
  • QImageBrowserBase
  • QImageBrowserNav
  • QImageBrowserThumbnails
  • QImageButton
  • QImageControl
  • QImageControlBase
  • QImageFileAsset
  • QImageLabel
  • QImageLabelBase
  • QImageRollover
  • QIntegerTextBox
  • QJqButton
  • QJqCheckBox
  • QJqRadioButton
  • QJsTimer
  • QJsTimerBase
  • QLabel
  • QLinkButton
  • QListBox
  • QListBoxBase
  • QListControl
  • QListItem
  • QListItemBase
  • QListItemStyle
  • QNumericTextBox
  • QPaginatedControl
  • QPaginator
  • QPaginatorBase
  • QPanel
  • QProgressbar
  • QRadioButton
  • QRadioButtonList
  • QResizable
  • QSampleControl
  • QSelectable
  • QSlider
  • QSortable
  • QTabs
  • QTagStyler
  • QTestControl
  • QTextBox
  • QTimerExpiredEvent
  • QTreeNav
  • QTreeNavItem
  • QUrlTextBox
  • QWaitIcon
  • QWriteBox
  • RecordsSummary
  • RefreshForm
  • SampleForm
  • SelectableLabel
  • SpeedForm
  • TestImageBrowser
  • UrlForm

Traits

  • QListItemManager

Exceptions

  • QCrossScriptingException

Functions

  • __QForm_EvaluateTemplate_ObHandler
  • DataGridEvalHandleError
  • Overview
  • Package
  • Class

Class QHListItem

Represents an item in a hierarchical item list. Uses the QListItemManager trait to manage the interface for adding sub-items.

QBaseClass
Extended by QListItemBase
Extended by QHListItem uses QListItemManager
Package: Controls
Located at includes/base_controls/QHListItem.class.php
Methods summary
public
# __construct( string $strName, string|null $strValue = null, string|null $strAnchor = null )

Creates a QListItem

Creates a QListItem

Parameters

$strName
is the displayed Name or Text of the Item
$strValue
is any text that represents the value of the ListItem (e.g. maybe a DB Id)
$strAnchor
is an href anchor that will be associated with item

Throws

Exception|QCallerException

Overrides

QListItemBase::__construct()
public
# AddItem( string|QHListItem $mixListItemOrName, string|null $strValue = null, null|string $strAnchor = null )

Add an item by a QHListItem or a name,value pair

Add an item by a QHListItem or a name,value pair

Parameters

$mixListItemOrName
$strValue
$strAnchor
public
# AddItems( array $objItemArray )

Adds an array of items, or an array of key=>value pairs.

Adds an array of items, or an array of key=>value pairs.

Parameters

$objItemArray
An array of QHListItems or key=>val pairs to be sent to contructor.
public QTagStyler
# GetSubTagStyler( )

Returns a QTagStyler for styling the sub tag.

Returns a QTagStyler for styling the sub tag.

Returns

QTagStyler
public mixed
# __get( string $strName )

PHP magic method

PHP magic method

Parameters

$strName

Returns

mixed

Throws

Exception|QCallerException

Overrides

QListItemBase::__get()
public mixed
# __set( string $strName, string $mixValue )

PHP magic method

PHP magic method

Parameters

$strName
$mixValue

Returns

mixed

Throws

Exception|QCallerException|QInvalidCastException

Overrides

QListItemBase::__set()
Methods inherited from QListItemBase
FindItem(), GetAttributes(), GetId(), GetStyle(), MarkAsModified(), Reindex(), SetId()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Methods used from QListItemManager
AddItemAt(), AddListItem(), AddListItems(), FindItem(), FindItemByValue(), GetAllItems(), GetId(), GetItem(), GetItemCount(), MarkAsModified(), Reindex(), RemoveAllItems(), RemoveItem(), ReplaceItem()
Properties summary
protected string|null $strAnchor

if this has an anchor, what to redirect to. Could be javascript or a page.

if this has an anchor, what to redirect to. Could be javascript or a page.

#
protected string|null $strTag

a custom tag to draw the item with.

a custom tag to draw the item with.

#
protected QTagStyler $objSubTagStyler

for styling the subtag if needed.

for styling the subtag if needed.

#
Properties inherited from QListItemBase
$objItemStyle, $strId, $strName, $strValue
Properties used from QListItemManager
$objListItemArray
Magic properties summary
public string $Anchor

If set, the anchor text to print in the href= string when drawing as an anchored item.

Magic properties inherited from QListItemBase
$Empty, $Id, $ItemStyle, $Name, $Text, $Value
API documentation generated by ApiGen