function _selectOr($fields, $filter) { $sentence = ""; $sentence = Sentences::_getSentenceSelectOr($this->table, $fields, $filter); $this->register = $this->cnn->excecuteSelect($sentence); return $this->register; }
function _select($fields, $filter) { $sentence = Sentences::_getSentenceSelectOr($this->table, $fields, $filter); $this->user = $this->cnn->excecuteSelect($sentence . " ORDER BY lastName"); return $this->user; }