/** * Build the array for the 'aLengthMenu' option * * @return array */ protected function renderLengthMenu() { return array(array_keys($this->config->getLengthMenu()), array_values($this->config->getLengthMenu())); }