Class RevRep
The RevRep class is responsible for the reversed repertorization for a given remedy in the materia medica (materia.php)
- TreeView
- RevRep
Package: RevRep
Category: Homeopathy
Copyright: 2007-2014 Henri Schumacher
License: GNU Affero General Public License v3
Author: Henri Schumacher <henri.hulski@gazeta.pl>
Located at include/classes/revrep_class.php
Category: Homeopathy
Copyright: 2007-2014 Henri Schumacher
License: GNU Affero General Public License v3
Author: Henri Schumacher <henri.hulski@gazeta.pl>
Located at include/classes/revrep_class.php
public
|
|
public
string
|
#
get_grade_select( )
get_grade_select returns a radio selection form for the max. desired grade (1|2|3) |
public
|
#
prepare_rem_symptoms( array $rem_rubrics_ar )
prepare_rem_symptoms retrieves the related remedy-symptom-relations and store them in a temporary table for building the symptom tree. |
public
string
|
|
public
string
|
#
generate_child( string $output_id, array $symptoms_ar )
generate_child returns the recursively generated child nodes for the html symptom tree |
get_treeview()
|
public
integer
|
$sym_count |
|
#
Number of found symptoms |
private
array
|
$rubrics_ar | array() |
#
Ordered array of main rubrics realted to the queried remedy |
private
integer
|
$grade | 1 |
#
Grade from which on symptoms will be shown (1|2|3) |
$rem_id,
$rubric_id,
$sym_rem_tbl,
$symptoms_tbl,
$tree_symptoms_tbl
|