Packageindex Classtrees Modulegroups Elementlist Report XML Files
 
File: c:/www/apache/doc2//form/form_element_tree.inc
PHPLib Form Rewrite 2001/03/01 - Form

form_element_tree

form_commonobject
   |
  +-- form_element
     |
    +-- form_element_tree

Creates a tree view meta type element.

 

public class form_element_tree extends form_element

Creates a tree view meta type element.
A tree is a select box that shows options like a tree.

AuthorsUlf Wendel <ulf.wendel@phpdoc.de>
Version$Id: form_element_tree.inc,v 1.5 2000/12/12 01:37:43 uw Exp $

 

Methods inherited from form_element

form_element, setup, checkconfiguration, getvalue, gettype, isbutton, getvalidator, setvalidator, freeze, unfreeze, thawout, show, validatelength, validateregex, dovalidation, react, setvalue, getjsonactivation, getcommonhtmlattributes, getfrozenhiddenelement, getfrozentable, getjs, getjsvalue, getextrajs, getname, ishidden

Methods inherited from form_commonobject

introspection

Private Method Summary

void

getSubtree(string $value)

FIXME
void

isSelected(mixed $value)

FIXME
void

getTree(mixed $value)

FIXME
void

setTree(mixed $tree)

FIXME
void

sortTree()

Warning: documentation is missing.
void

getOptions()

Warning: documentation is missing.
void

get([ string $value ])

Returns the HTML code of the element.Warning: documentation is missing.
void

getfrozen([ string $value ])

Returns thr HTML code of the frozen element.Warning: documentation is missing.
void

validate()

Returns the result of the (serverside) validation.Warning: documentation is missing.

Fields inherited from form_element

$flag_config_ok, $elname, $name, $value, $additional_html, $frozen, $class, $id, $style, $shared_required_fields, $required_fields, $shared_optional_fields, $method, $val_events, $js_mode, $form_name, $validator, $js_validator

Fields inherited from form_commonobject

$cr_html, $exceptions

Private Field Summary

unknown

$tree

string

$delimiter

string

$step

string

$open

string

$close

boolean

$openall

string

$accesskey

string

$tabindex

array

$intro

string

$intro_e

string

$selected

array

$treelist

array

$treeindex

integer

$maxdept

array

$options

array

$optional_fields

List of optional fields provided by a derived class.

Private Method Details

getSubtree

private void getSubtree( string $value )

  FIXME

Parameter
string $value
Returns void


isSelected

private void isSelected( mixed $value )

  FIXME

Parameter
mixed $value
Returns void


getTree

private void getTree( mixed $value )

  FIXME

Parameter
mixed $value
Returns void


setTree

private void setTree( mixed $tree )

  FIXME

Parameter
mixed $tree
Returns void


sortTree

private void sortTree( )

 

Warning: documentation is missing.

Returns void


getOptions

private void getOptions( )

 

Warning: documentation is missing.

Returns void


get

private void get( [ string $value ] )

  Returns the HTML code of the element.

Warning: documentation is missing.

Parameter
string $value = >>""<<
The value is only used with radio buttons.
If the given value is equal to the value of the
element when it was defined, the radio gets selected.
Returns void

See Also getfrozen(), show()

getfrozen

private void getfrozen( [ string $value ] )

  Returns thr HTML code of the frozen element.

Warning: documentation is missing.

Parameter
string $value = >>""<<
The value is only used with radio buttons.
If the given value is equal to the value of the
element when it was defined, the radio gets selected.
Returns void

See Also get(), show()

validate

private void validate( )

  Returns the result of the (serverside) validation.

Warning: documentation is missing.

Returns void

See Also validateLength(), validateRegEx(), doValidation()

Private Field Details

$tree

private unknown $tree

>><<



$delimiter

private string $delimiter

>>"/"<<



$step

private string $step

>>"&nbsp;&nbsp;&nbsp;"<<



$open

private string $open

>>"[+]"<<



$close

private string $close

>>"[-]"<<



$openall

private boolean $openall

>>false<<



$accesskey

private string $accesskey

>>""<<



$tabindex

private string $tabindex

>>""<<



$intro

private array $intro

>>array()<<



$intro_e

private string $intro_e

>>""<<



$selected

private string $selected

>>""<<



$treelist

private array $treelist

>>array()<<



$treeindex

private array $treeindex

>>array()<<



$maxdept

private integer $maxdept

>>8<<



$options

private array $options

>>array()<<



$optional_fields

private array $optional_fields

>>array ( "size" => "integer", "step" => "string", "open" => "string", "close" => "string", "openall" => "boolean", "delimiter" => "string", "intro" => "mixed", "intro_e" => "string", "tabindex" => "integer", "accesskey" => "string", "tree" => "array" )<<

List of optional fields provided by a derived class.

See Also $shared_optional_fields, $required_fields


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta