classQListControl
QListControl Class Reference
Inherits QControl.Inherited by QCheckBoxList, QListBoxBase, and QRadioButtonList.

Public Member Functions
- AddItem ($mixListItemOrName, $strValue=null, $blnSelected=null, $strItemGroup=null, $strOverrideParameters=null)
- AddItemAt ($intIndex, QListItem $objListItem)
- GetItem ($intIndex)
- RemoveAllItems ()
- RemoveItem ($intIndex)
- __get ($strName)
- __set ($strName, $mixValue)
Protected Attributes
- $objItemsArray = array()
Member Function Documentation
| QListControl::__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 QControlBase.
Reimplemented in QCheckBoxList, QListBoxBase, and QRadioButtonList.
References QControlBase::$strName, and QCallerException::IncrementOffset().
| QListControl::__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 QControlBase.
Reimplemented in QCheckBoxList, QListBoxBase, and QRadioButtonList.
References QControlBase::$strName, QType::ArrayType, QType::Cast(), QCallerException::IncrementOffset(), and QType::Integer.
| QListControl::AddItem | ( | $ | mixListItemOrName, | |
| $ | strValue = null, |
|||
| $ | blnSelected = null, |
|||
| $ | strItemGroup = null, |
|||
| $ | strOverrideParameters = null | |||
| ) |
References QType::Cast(), and QType::Object.
| QListControl::AddItemAt | ( | $ | intIndex, | |
| QListItem $ | objListItem | |||
| ) |
References QType::Cast(), QCallerException::IncrementOffset(), and QType::Integer.
| QListControl::GetItem | ( | $ | intIndex | ) |
References QType::Cast(), QCallerException::IncrementOffset(), and QType::Integer.
| QListControl::RemoveAllItems | ( | ) |
| QListControl::RemoveItem | ( | $ | intIndex | ) |
References QType::Cast(), QCallerException::IncrementOffset(), and QType::Integer.
Member Data Documentation
QListControl::$objItemsArray = array() [protected] |
The documentation for this class was generated from the following file:
- qcodo/_core/qform/QListControl.class.php
