Overview

Packages

  • Admin
  • Archive
  • Common
  • DB
  • Express
  • Form
  • Layout
  • Mailer
  • None
  • OpenHomeoDB
  • PDF
    • MC
  • Process
  • Rep
  • RevRep
  • SaveReps
  • Search
  • Session
  • SymRem
  • TreeView
  • UserDB

Classes

  • RevRep
  • Overview
  • Package
  • Class
  • Tree

Class RevRep

The RevRep class is responsible for the reversed repertorization for a given remedy in the materia medica (materia.php)

TreeView
Extended by 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
Methods summary
public RevRep
# __construct( )

Class constructor

Class constructor

Returns

RevRep

Overrides

TreeView::__construct()
public string
# get_grade_select( )

get_grade_select returns a radio selection form for the max. desired grade (1|2|3)

get_grade_select returns a radio selection form for the max. desired grade (1|2|3)

Returns

string
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.

prepare_rem_symptoms retrieves the related remedy-symptom-relations and store them in a temporary table for building the symptom tree.

Parameters

$rem_rubrics_ar
array
$rem_rubrics_ar contains either the requested main rubric or if none an ordered array of main rubrics related with the queried remedy
public string
# build_symptomtree( )

build_symptomtree returns the html formatted symptom tree

build_symptomtree returns the html formatted symptom tree

Returns

string

Overrides

TreeView::build_symptomtree()
public string
# generate_child( string $output_id, array $symptoms_ar )

generate_child returns the recursively generated child nodes for the html symptom tree

generate_child returns the recursively generated child nodes for the html symptom tree

Parameters

$output_id
string
$output_id id of the parent div, in which to put the child nodes
$symptoms_ar
array
$symptoms_ar array that contains the symptoms

Returns

string

Overrides

TreeView::generate_child()
Methods inherited from TreeView
get_treeview()
Properties summary
public integer $sym_count
#

Number of found symptoms

Number of found symptoms

private array $rubrics_ar array()
#

Ordered array of main rubrics realted to the queried remedy

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)

Grade from which on symptoms will be shown (1|2|3)

Properties inherited from TreeView
$rem_id, $rubric_id, $sym_rem_tbl, $symptoms_tbl, $tree_symptoms_tbl
OpenHomeopath PHP code documentation API documentation generated by ApiGen 2.8.0