PHP Class IMP_Ftree_Select, horde

Author: Michael Slusarz ([email protected])
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_tree Horde_Tree Generated tree.

Public Methods

Method Description
__construct ( array $opts = [] ) Constructor.
__toString ( ) : string The string tree representation.

Method Details

__construct() public method

Constructor.
public __construct ( array $opts = [] )
$opts array Optional parameters: - abbrev: (boolean) Abbreviate long mailbox names by replacing the middle of the name with '...'? DEFAULT: Yes - basename: (boolean) Use raw basename instead of abbreviated label? DEFAULT: false - heading: (string) The label for an empty-value option at the top of the list. DEFAULT: '' - inc_notepads: (boolean) Include user's editable notepads in list? DEFAULT: No - inc_tasklists: (boolean) Include user's editable tasklists in list? DEFAULT: No - inc_vfolder: (boolean) Include user's virtual folders in list? DEFAULT: No - iterator: (Iterator) Tree iterator to use. - new_mbox: (boolean) Display an option to create a new mailbox? DEFAULT: No - optgroup: (boolean) Whether to use elements to group mailbox types. DEFAULT: false - selected: (string) The mailbox to have selected by default. DEFAULT: None

__toString() public method

NOTE: The <select> and </select> tags are NOT included in the output.
public __toString ( ) : string
return string A string containing

Property Details

$_tree protected_oe property

Generated tree.
protected Horde_Tree $_tree
return Horde_Tree