WebObjectTree for PHP
Public Member Functions | List of all members
Coalesys\WebObjectTree\Item Class Reference

Item class. More...

Public Member Functions

 __construct ()
 Item constructor. More...
 
 addItem ($text=null, $hint=null)
 Adds a new item to the items collection. More...
 
 getHint ()
 Gets the user-defined hint for applying custom styles. More...
 
 getItems ()
 Gets the items collection. More...
 
 getText ()
 Gets the text string displayed for the item. More...
 
 setHint ($value)
 Sets the user-defined hint for applying custom styles. More...
 
 setText ($value)
 Sets the text string displayed for the item. More...
 

Detailed Description

Item class.

Constructor & Destructor Documentation

Coalesys\WebObjectTree\Item::__construct ( )

Item constructor.

Member Function Documentation

Coalesys\WebObjectTree\Item::addItem (   $text = null,
  $hint = null 
)

Adds a new item to the items collection.

Parameters
$textThe text string displayed for the item.
$hintThe user-defined hint for applying custom styles.
Returns
The item object.
Coalesys\WebObjectTree\Item::getHint ( )

Gets the user-defined hint for applying custom styles.

Coalesys\WebObjectTree\Item::getItems ( )

Gets the items collection.

Coalesys\WebObjectTree\Item::getText ( )

Gets the text string displayed for the item.

Coalesys\WebObjectTree\Item::setHint (   $value)

Sets the user-defined hint for applying custom styles.

Coalesys\WebObjectTree\Item::setText (   $value)

Sets the text string displayed for the item.


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