/** * We persist the parametersToModify values in the javascript footer. * This is used by the "export links" that use the "date" attribute * from the json properties array in the datatable footer. * @return array */ protected function getJavascriptVariablesToSet() { $original = parent::getJavascriptVariablesToSet(); $originalViewDataTable = $original['viewDataTable']; $result = $this->parametersToModify + $original; $result['viewDataTable'] = $originalViewDataTable; return $result; }
/** * We persist the parametersToModify values in the javascript footer. * This is used by the "export links" that use the "date" attribute * from the json properties array in the datatable footer. */ protected function getJavascriptVariablesToSet() { return $this->parametersToModify + parent::getJavascriptVariablesToSet(); }