diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-05 06:31:51 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-05 06:31:51 +0400 |
commit | 624efca3e96853f7ff40d5b323f26688a951b5f4 (patch) | |
tree | 4c3d996e5b86cb7d428b2afb454b4c8b2adc8395 /plugins/Actions/API.php | |
parent | 99940a44a19e5ef4d24b83b61ce2130f96530df6 (diff) |
Renaming DataTable\Array to DataTable\Map in comments and tests
Diffstat (limited to 'plugins/Actions/API.php')
-rw-r--r-- | plugins/Actions/API.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Actions/API.php b/plugins/Actions/API.php index aaad454f0e..534ed6a46d 100644 --- a/plugins/Actions/API.php +++ b/plugins/Actions/API.php @@ -353,8 +353,8 @@ class API if ($customVariables instanceof DataTable\Map) { $dataTable = $customVariables->getEmptyClone(); - $customVariableDatatables = $customVariables->getArray(); - $dataTables = $dataTable->getArray(); + $customVariableDatatables = $customVariables->getDataTables(); + $dataTables = $dataTable->getDataTables(); foreach ($customVariableDatatables as $key => $customVariableTableForDate) { // we do not enter the IF, in the case idSite=1,3 AND period=day&date=datefrom,dateto, if (isset($customVariableTableForDate->metadata['period'])) { @@ -412,7 +412,7 @@ class API // if an array occurs inside the nested table, we only look for the first match (see below) $newTableArray = $table->getEmptyClone(); - foreach ($table->getArray() as $label => $subTable) { + foreach ($table->getDataTables() as $label => $subTable) { $newSubTable = $this->doFilterPageDatatableSearch($callBackParameters, $subTable, $searchTree); $newTableArray->addTable($newSubTable, $label); @@ -432,7 +432,7 @@ class API { // filter a data table array if ($table instanceof DataTable\Map) { - foreach ($table->getArray() as $subTable) { + foreach ($table->getDataTables() as $subTable) { $filteredSubTable = $this->doFilterPageDatatableSearch($callBackParameters, $subTable, $searchTree); if ($filteredSubTable->getRowsCount() > 0) { |