PHP Class OEModule\OphCiExamination\components\VisualOutcomeReport

Inheritance: extends Report, implements ReportInterface
Show file Open project: openeyes/openeyes

Protected Properties

Property Type Description
$graphConfig array
$method integer
$months integer
$searchTemplate string
$totalEyes integer
$type string

Public Methods

Method Description
__construct ( $app )
dataSet ( ) : array
graphConfig ( ) : string
renderSearch ( ) : mixed | string
seriesJson ( ) : string

Protected Methods

Method Description
convertVisualAcuity ( $baseValue ) : float
queryData ( $surgeon, $dateFrom, $dateTo, integer $months = 4, integer | string $method = 'best', string $type = 'distance' ) : array | CDbDataReader

Method Details

__construct() public method

public __construct ( $app )
$app

convertVisualAcuity() protected method

protected convertVisualAcuity ( $baseValue ) : float
$baseValue
return float

dataSet() public method

public dataSet ( ) : array
return array

graphConfig() public method

public graphConfig ( ) : string
return string

queryData() protected method

protected queryData ( $surgeon, $dateFrom, $dateTo, integer $months = 4, integer | string $method = 'best', string $type = 'distance' ) : array | CDbDataReader
$surgeon
$dateFrom
$dateTo
$months integer
$method integer | string
$type string
return array | CDbDataReader

renderSearch() public method

public renderSearch ( ) : mixed | string
return mixed | string

seriesJson() public method

public seriesJson ( ) : string
return string

Property Details

$graphConfig protected property

protected array $graphConfig
return array

$method protected property

protected int $method
return integer

$months protected property

protected int $months
return integer

$searchTemplate protected property

protected string $searchTemplate
return string

$totalEyes protected property

protected int $totalEyes
return integer

$type protected property

protected string $type
return string