Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
public function getDefaultSort()
|
|
|
2 |
{
|
|
|
3 |
<?php if ($sort = (isset($this->config['list']['sort']) ? $this->config['list']['sort'] : false)): ?>
|
|
|
4 |
<?php if (!is_array($sort)) $sort = array($sort, 'asc'); ?>
|
|
|
5 |
return array('<?php echo $sort[0] ?>', '<?php echo isset($sort[1]) ? $sort[1] : 'asc' ?>');
|
|
|
6 |
<?php else: ?>
|
|
|
7 |
return array(null, null);
|
|
|
8 |
<?php endif; ?>
|
|
|
9 |
<?php unset($this->config['list']['sort']) ?>
|
|
|
10 |
}
|