QueryBasedTables: make search() public

This commit is contained in:
Thomas Gelf 2018-09-04 07:40:57 +02:00
parent b790c7410a
commit 6d139752fe
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ abstract class QueryBasedTable extends Table implements Countable
return $this->searchColumns; return $this->searchColumns;
} }
protected function search($search) public function search($search)
{ {
if (! empty($search)) { if (! empty($search)) {
$query = $this->getQuery(); $query = $this->getQuery();

View File

@ -67,7 +67,7 @@ abstract class ZfQueryBasedTable extends QueryBasedTable
return $this; return $this;
} }
protected function search($search) public function search($search)
{ {
if (! empty($search)) { if (! empty($search)) {
$query = $this->getQuery(); $query = $this->getQuery();