Packageindex Classtrees Modulegroups Elementlist Report XML Files

pxdb.content

pxdb_picktable_tree

pxdb_picktable
   |
  +-- pxdb_picktable_tree

private class pxdb_picktable_tree extends pxdb_picktable

Authors
Version$Revision: 1.2 $

 

Methods inherited from pxdb_picktable

pxdb_picktable, set_table, get_table, get_picktable_array, access_picktable, set_orderby, get_orderby, get_resultset, get_fields, lookup_value, lookup_label, use_datatype_types

Public Method Summary

array get_listwidget_array([ string $table ], string $depth_marker)
Dump the entire picktable into an array formatted for use with listWidgetWarning: documentation is missing.
array access_picktable_tree()
Returns the rows in the picktable as an array where the labels are indented
array &get_rows(integer $pickid, array $children, [ integer $depth ])
recursive function to get all the children under a pick
boolean has_children(integer $node)
tests if a node has any children under neath it.

Private Method Summary

void get_children( $parent)
returns array of children for a pick option
void get_breeder_ids()
returns array of options that have children

Fields inherited from pxdb_picktable

$_db, $_rs, $_sql, $_orderby, $_tables, $_columns

Private Field Summary

unknown $_tree_rows

unknown $_children

Public Method Details

get_listwidget_array

public array get_listwidget_array([ string $table ], string $depth_marker)

 

Warning: documentation is missing.

Parameter
string $table = >>null<<
optional name of the picktable to be accessed
string $depth_marker
Warning: documentation is missing.
Returns array

Author(s) Nyk Cowham <nyk@forumone.com>

access_picktable_tree

public array access_picktable_tree()

 

Returns array


&get_rows

public array &get_rows(integer $pickid, array $children, [ integer $depth ])

 

Parameter
integer $pickid
to get descendants for
array $children
array
integer $depth = >>0<<
depth
Returns array


has_children

public boolean has_children(integer $node)

 

Parameter
integer $node
id
Returns boolean


Private Method Details

get_children

private void get_children( $parent)

 

Parameter
$parent
Warning: documentation is missing.
Returns void


get_breeder_ids

private void get_breeder_ids()

 

Returns void


Private Field Details

$_tree_rows

private unknown $_tree_rows

>><<


$_children

private unknown $_children

>><<



Packageindex Classtrees Modulegroups Elementlist Report XML Files
Generated on Fri, 28 Apr 2006 19:07:22 -0400 by PHPDoc v1.5 www.phpdoc.de