classQListBoxBase
QListBoxBase Class Reference
Inherits QListControl.Inherited by QListBox.

Public Member Functions
- __construct ($objParentObject, $strControlId=null)
- ParsePostData ()
- GetJavaScriptAction ()
- GetAttributes ($blnIncludeCustom=true, $blnIncludeAction=true)
- Validate ()
- __get ($strName)
- __set ($strName, $mixValue)
Protected Member Functions
- GetItemHtml ($objItem, $intIndex)
- GetControlHtml ()
- GetResetButtonHtml ()
Protected Attributes
- $strLabelForRequired
- $strLabelForRequiredUnnamed
- $objItemStyle = null
- $strSelectionMode = QSelectionMode::Single
- $strJavaScripts = '_core/listbox.js'
Private Attributes
- $intRows = 1
Constructor & Destructor Documentation
| QListBoxBase::__construct | ( | $ | objParentObject, | |
| $ | strControlId = null | |||
| ) |
Member Function Documentation
| QListBoxBase::__get | ( | $ | strName | ) |
Override method to perform a property "Get" This will get the value of $strName All inhereted objects that call __get() should always fall through to calling parent::__get() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to get
- Returns:
- mixed the returned property
Reimplemented from QListControl.
References QControlBase::$strName, and QCallerException::IncrementOffset().
| QListBoxBase::__set | ( | $ | strName, | |
| $ | mixValue | |||
| ) |
Override method to perform a property "Set" This will set the property $strName to be $mixValue All inhereted objects that call __set() should always fall through to calling parent::__set() in a try/catch statement catching for CallerExceptions.
- Parameters:
-
string $strName Name of the property to set string $mixValue New value of the property
- Returns:
- mixed the property that was set
Reimplemented from QListControl.
References QControlBase::$strName, QType::Cast(), QCallerException::IncrementOffset(), QType::Integer, and QType::String.
| QListBoxBase::GetAttributes | ( | $ | blnIncludeCustom = true, |
|
| $ | blnIncludeAction = true | |||
| ) |
Reimplemented from QControlBase.
References QSelectionMode::Multiple.
Referenced by GetControlHtml().
| QListBoxBase::GetControlHtml | ( | ) | [protected] |
Reimplemented from QControlBase.
References GetAttributes(), GetItemHtml(), GetResetButtonHtml(), QControlBase::GetStyleAttributes(), and QSelectionMode::Multiple.
| QListBoxBase::GetItemHtml | ( | $ | objItem, | |
| $ | intIndex | |||
| ) | [protected] |
Referenced by GetControlHtml().
| QListBoxBase::GetJavaScriptAction | ( | ) |
| QListBoxBase::GetResetButtonHtml | ( | ) | [abstract, protected] |
| QListBoxBase::ParsePostData | ( | ) |
| QListBoxBase::Validate | ( | ) |
Reimplemented from QControlBase.
Member Data Documentation
QListBoxBase::$intRows = 1 [private] |
QListBoxBase::$objItemStyle = null [protected] |
QListBoxBase::$strJavaScripts = '_core/listbox.js' [protected] |
Reimplemented from QControlBase.
QListBoxBase::$strLabelForRequired [protected] |
QListBoxBase::$strLabelForRequiredUnnamed [protected] |
QListBoxBase::$strSelectionMode = QSelectionMode::Single [protected] |
The documentation for this class was generated from the following file:
- qcodo/_core/qform/QListBoxBase.class.php
