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 QListItemBase

This base class represents an item in some kind of html item list. There are many types of possible lists, including checklists and hierarchical lists. This is the core functionality common to all of them.

QBaseClass
Extended by QListItemBase

Direct known subclasses

QHListItem, QListItem

Indirect known subclasses

QAutocompleteListItem
Package: Controls
Located at includes/base_controls/QListItemBase.class.php
Methods summary
public
# __construct( string $strName, string|null $strValue = null, null|QListItemStyle $objItemStyle = 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)
$objItemStyle
is the item style. If provided here, it is referenced and shared with other items.

Throws

Exception|QCallerException
public
# GetStyle( )
public string
# GetAttributes( )

Returns the css style of the list item

Returns the css style of the list item

Deprecated

Returns

string
public
# MarkAsModified( )

Stub functions required for QListItemManager trait support

Stub functions required for QListItemManager trait support

public
# Reindex( )
public
# FindItem( $strId )
public string
# GetId( )

Return the id. Used by trait.

Return the id. Used by trait.

Returns

string
public
# SetId( $strId )

Set the Id. Used by trait.

Set the Id. Used by trait.

Parameters

$strId
public mixed
# __get( string $strName )

PHP magic method

PHP magic method

Parameters

$strName

Returns

mixed

Throws

Exception|QCallerException

Overrides

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

PHP magic method

PHP magic method

Parameters

$strName
$mixValue

Returns

mixed

Throws

Exception|QCallerException|QInvalidCastException

Overrides

QBaseClass::__set()
Methods inherited from QBaseClass
OverrideAttributes(), __call()
Properties summary
protected null|string $strName

Name of the Item

Name of the Item

# null
protected null|string $strValue

Value of the Item

Value of the Item

# null
protected QListItemStyle $objItemStyle

Custom attributes of the list item

Custom attributes of the list item

#
protected string $strId

the internal id

the internal id

#
Magic properties summary
public string $Name

Usually what gets displayed. Can be overridden by the Label attribute in certain situations.

public string $Value

is any text that represents the value of the item (e.g. maybe a DB Id)

public QListItemStyle $ItemStyle

Custom HTML attributes for this particular item.

public string $Text

synonym of Name. Used to store longer text with the item.

public string $Id

A place to save an id for the item. It is up to the corresponding list class to use this in the object.

public read-only boolean $Empty

true when both $Name and $Value are null, in which case this item will be rendered with an empty value in the list control

API documentation generated by ApiGen