4 * This file is part of OpenEMR.
6 * @link https://github.com/openemr/openemr/tree/master
7 * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU General Public License 3
10 namespace OpenEMR\Events
;
13 * Represents a where clause using(?, ?) and it's bound values
15 * @package OpenEMR\Events
16 * @author Ken Chapple <ken@mi-squared.com>
17 * @copyright Copyright (c) 2019 Ken Chapple <ken@mi-squared.com>
24 * Part of a WHERE filter clause, to be appended to a WHERE clause
26 private $filterClause = "1";
31 * Represents the values to be substituted for ?s in the filter clause
33 private $boundValues = [];
38 public function getFilterClause()
40 return $this->filterClause
;
44 * @param string $filterClause
46 public function setFilterClause($filterClause)
48 $this->filterClause
= $filterClause;
54 public function getBoundValues()
56 return $this->boundValues
;
60 * @param array $boundValues
62 public function setBoundValues($boundValues)
64 $this->boundValues
= $boundValues;
68 * @param string|int $boundValue
70 public function addBoundValue($boundValue)
72 $this->boundValues
[] = $boundValue;