Class SymRem
The SymRem Class is responsible for retrieving and presenting the remedies for a given symptom for the symptominfo (symptominfo.php)
Package: SymRem
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/symrem_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/symrem_class.php
public
|
|
private
|
#
set_sym_rems( )
set_sym_rems retrieves the details of remedies related to the given symptom ($this->sym_id) and stores them in an array ($this->rems_ar) |
public
string
|
#
get_grade_select( string $name = 'remgrade' )
get_grade_select returns a radio selection form for the max. desired grade (1|2|3) |
public
string
|
|
public
string
|
#
get_rems_list( )
get_rems_list returns a sorted html list of remedies related to the given symptom ($this->sym_id) |
private
array
|
$rems_ar | array() |
#
Remedies array |
public
integer
|
$rem_count |
|
#
Number of found remedies |
public
integer
|
$sym_id |
|
#
Symptom ID |
private
integer
|
$grade |
|
#
From which grade on remedies should be retrieved (1|2|3) |
private
string
|
$sort |
|
#
How the remedies should be sorted (grade|remname|shortname) |
private
string
|
$sym_rem_tbl |
|
#
Symptom-remedy-relations table |