QCubed - A PHP5 rapid development MVC framework.
Home  |  Updates

classQListItem

QListItem Class Reference

Inherits QBaseClass.

Collaboration diagram for QListItem:

List of all members.

Public Member Functions

  • __construct ($strName, $strValue, $blnSelected=false, $strItemGroup=null, $strOverrideParameters=null)
  • GetAttributes ($blnIncludeCustom=true, $blnIncludeAction=true)
  • __get ($strName)
  • __set ($strName, $mixValue)

Protected Attributes


Constructor & Destructor Documentation

QListItem::__construct ( strName,
strValue,
blnSelected = false,
strItemGroup = null,
strOverrideParameters = null 
)


Member Function Documentation

QListItem::__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 QBaseClass.

References $strName, and QCallerException::IncrementOffset().

QListItem::__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 QBaseClass.

References $strName, QType::Boolean, QType::Cast(), QCallerException::IncrementOffset(), and QType::String.

QListItem::GetAttributes ( blnIncludeCustom = true,
blnIncludeAction = true 
)


Member Data Documentation

QListItem::$blnSelected = false [protected]

Referenced by __construct().

QListItem::$objItemStyle [protected]

QListItem::$strItemGroup = null [protected]

Referenced by __construct().

QListItem::$strName = null [protected]

Referenced by __construct(), __get(), and __set().

QListItem::$strValue = null [protected]

Referenced by __construct().


The documentation for this class was generated from the following file: