8
0

rename executeQuery method to a better name

Dieser Commit ist enthalten in:
Daniel Seifert 2021-04-28 13:40:54 +02:00
Ursprung e88dd1624c
Commit 98fd499599
Signiert von: DanielS
GPG-Schlüssel-ID: 8A7C4C6ED1915C6F

Datei anzeigen

@ -50,7 +50,7 @@ abstract class ExportBase implements QueryBase
*/
public function run($format = RendererBridge::FORMAT_CSV)
{
[ $rows, $fieldNames ] = $this->executeQuery( $this->getQuery() );
[ $rows, $fieldNames ] = $this->getExportData( $this->getQuery() );
$content = $this->renderContent($rows, $fieldNames, $format);
@ -132,7 +132,7 @@ abstract class ExportBase implements QueryBase
* @throws DatabaseConnectionException
* @throws DatabaseErrorException
*/
protected function executeQuery( array $query ): array
public function getExportData( array $query ): array
{
[ $queryString, $parameters ] = $query;