public function dlInit() { parent::dlInit(); $this->dlParams['sortBy'] = 'sg_index'; $this->dlParams['sortDir'] = 'DESC'; }
public function listing() { $out = parent::listing(); $data = json_decode($out, true); foreach ($data['rows'] as &$row) { $row['sf_icon'] = $this->data->getFileIcon($row['sf_file']); } return json_encode($data); }