In my model:
$rowset = $this->tableGateway->select(array('username' => $identifier));
$row = $rowset->current();
return $row;
It executes the following query:
SELECT * FROM member WHERE username='<< ENTERED VALUE >>';
but I want execute the following query:
SELECT * FROM member WHERE username='<< ENTERED VALUE >>' OR id_customer='<< ENTERED VALUE >>';
What are the changes I have to make in model file?
And please suggest useful blog regarding this. I cant find answer for this in ZF2 Documentation.