Skip to content

Commit

Permalink
🔨 #188 quantidade resultado
Browse files Browse the repository at this point in the history
  • Loading branch information
bjverde committed Sep 28, 2022
1 parent d477985 commit 62c6ace
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion controllers/CreateApiControllesFiles.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ public function addSelectAll()
$this->addLine(ESP.ESP.ESP.'$result = \ArrayHelper::convertArrayFormDin2Pdo($result);');
$this->addLine(ESP.ESP.ESP.'$msg = array( \'qtd_total\'=> $qtd_total');
$this->addLine(ESP.ESP.ESP.ESP.ESP.ESP.', \'qtd_result\'=> \CountHelper::count($result)');
$this->addLine(ESP.ESP.ESP.ESP.ESP.ESP.', \'result\'=>$result');
$this->addLine(ESP.ESP.ESP.ESP.ESP.ESP.', \'page\'=>$page');
$this->addLine(ESP.ESP.ESP.ESP.ESP.ESP.', \'pages\'=>$page');
$this->addLine(ESP.ESP.ESP.ESP.ESP.ESP.', \'result\'=>round($qtd_total/$rowsPerPage)');
$this->addLine(ESP.ESP.ESP.');');
$this->addBodyJsonResponse(ESP.ESP.ESP,200);
$this->addCatchBodyJsonResponse(ESP.ESP,500);
Expand Down

0 comments on commit 62c6ace

Please sign in to comment.