Overview

Packages

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

Classes

  • SymRem
  • Overview
  • Package
  • Class
  • Tree

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
Methods summary
public SymRem
# __construct( )

Class constructor

Class constructor

Returns

SymRem
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)

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)

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

Parameters

$name
string
$name The name of the radio selection form element.

Returns

string
public string
# get_sort_select( )

get_sort_select returns a html selection form for the desired sorting

get_sort_select returns a html selection form for the desired sorting

Returns

string
public string
# get_rems_list( )

get_rems_list returns a sorted html list of remedies related to the given symptom ($this->sym_id)

get_rems_list returns a sorted html list of remedies related to the given symptom ($this->sym_id)

Returns

string
Properties summary
private array $rems_ar array()
#

Remedies array

Remedies array

public integer $rem_count
#

Number of found remedies

Number of found remedies

public integer $sym_id
#

Symptom ID

Symptom ID

private integer $grade
#

From which grade on remedies should be retrieved (1|2|3)

From which grade on remedies should be retrieved (1|2|3)

private string $sort
#

How the remedies should be sorted (grade|remname|shortname)

How the remedies should be sorted (grade|remname|shortname)

private string $sym_rem_tbl
#

Symptom-remedy-relations table

Symptom-remedy-relations table

OpenHomeopath PHP code documentation API documentation generated by ApiGen 2.8.0