/** * If there is no rows the script stops and send a message to the client. * @param array $rows * @return void */ private static function HasRowsDie($rows) { if (count($rows) == 0) { Dialog::RequestNoRecordFoundSearch(); } }