PHP Class OphCoCorrespondence_ReportLetters

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Author: OpenEyes ([email protected])
Inheritance: extends BaseReport
Show file Open project: openeyes/openeyes

Public Properties

Property Type Description
$author_id
$condition_type
$end_date
$letters
$match_correspondence
$match_legacy_letters
$phrases
$site_id
$start_date

Public Methods

Method Description
afterValidate ( )
applyEndDate ( &$where, &$where_params )
applyStartDate ( &$where, &$where_params )
attributeLabels ( )
attributeNames ( )
description ( )
executeQuery ( $data )
getDbCommand ( )
joinLetters ( $type, $data, &$select, &$where_clauses, &$where_params, $where_operator )
rules ( )
run ( )
toCSV ( ) : string Output the report in CSV format.

Method Details

afterValidate() public method

public afterValidate ( )

applyEndDate() public method

public applyEndDate ( &$where, &$where_params )

applyStartDate() public method

public applyStartDate ( &$where, &$where_params )

attributeLabels() public method

public attributeLabels ( )

attributeNames() public method

public attributeNames ( )

description() public method

public description ( )

executeQuery() public method

public executeQuery ( $data )

getDbCommand() public method

public getDbCommand ( )

joinLetters() public method

public joinLetters ( $type, $data, &$select, &$where_clauses, &$where_params, $where_operator )

rules() public method

public rules ( )

run() public method

public run ( )

toCSV() public method

Output the report in CSV format.
public toCSV ( ) : string
return string

Property Details

$author_id public property

public $author_id

$condition_type public property

public $condition_type

$end_date public property

public $end_date

$letters public property

public $letters

$match_correspondence public property

public $match_correspondence

$match_legacy_letters public property

public $match_legacy_letters

$phrases public property

public $phrases

$site_id public property

public $site_id

$start_date public property

public $start_date