function ImageController() { parent::ZemAdminController(); $this->context = gpsa(array('page', 'sort', 'dir', 'crit', 'search_method')); if (empty($this->context['sort'])) { $this->context['sort'] = 'id'; } if ($this->context['dir'] != 'asc') { $this->context['dir'] = 'desc'; } }
function SectionController() { parent::ZemAdminController(); $this->context = gpsa(array('page', 'sort', 'dir', 'crit', 'search_method')); // @todo: sensible standard list view if (empty($this->context['sort'])) { $this->context['sort'] = 'name'; } if ($this->context['dir'] != 'desc') { $this->context['dir'] = 'asc'; } }
function PrefsController() { parent::ZemAdminController(); }