Class: CategorySelect

Source Location: /CORE/system/classes/util/formular/CategorySelect.php

Class CategorySelect

Class Overview

This class defines a HTML Select Box ...

Set all values and call

.

Located in /CORE/system/classes/util/formular/CategorySelect.php [line 40]

HtmlElement
   |
   --Select
      |
      --CategorySelect
Author(s):
  • Kevin Papst
Information Tags:
Version:  $Id: CategorySelect.php,v 1.7 2008/12/03 12:36:12 kpapst Exp $
Copyright:  Copyright (C) Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
CategorySelect   CategorySelect()  
void   getHtml()  
void   setHideID()   Sets the ID for a Tree to be hidden.
void   setPreSelectedID()   You can pass an array of IDs (if you use this as multiple select box, or you pass only one ID if using single select mode.
void   setStartID()   Set an Start ID to create the Tree.

[ Top ]
Methods
Constructor CategorySelect  [line 59]

  CategorySelect CategorySelect( )



[ Top ]
getHtml  [line 71]

  void getHtml( )



Redefinition of:
HtmlElement::getHtml()

[ Top ]
setHideID  [line 93]

  void setHideID( int $id  )

Sets the ID for a Tree to be hidden.

Parameters:
int   $id:  id the Start ID of the Tree to be hidden


[ Top ]
setPreSelectedID  [line 82]

  void setPreSelectedID( $id  )

You can pass an array of IDs (if you use this as multiple select box, or you pass only one ID if using single select mode.

Parameters:
   $id: 


[ Top ]
setStartID  [line 67]

  void setStartID( $startID  )

Set an Start ID to create the Tree.

This NEEDS to be called before getHtml().

Parameters:
   $startID: 


[ Top ]