| @@ 205-212 (lines=8) @@ | ||
| 202 | /** |
|
| 203 | * @return string |
|
| 204 | */ |
|
| 205 | public function getDefaultOrder() |
|
| 206 | { |
|
| 207 | if ($this->_ordersel) { |
|
| 208 | return Smartobject\Utility::getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_ordersel', $this->_ordersel); |
|
| 209 | } else { |
|
| 210 | return Smartobject\Utility::getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_ordersel', 'ASC'); |
|
| 211 | } |
|
| 212 | } |
|
| 213 | ||
| 214 | /** |
|
| 215 | * @param array $actions |
|
| @@ 405-412 (lines=8) @@ | ||
| 402 | /** |
|
| 403 | * @return string |
|
| 404 | */ |
|
| 405 | public function getDefaultFilter() |
|
| 406 | { |
|
| 407 | if ($this->_filtersel) { |
|
| 408 | return Smartobject\Utility::getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_filtersel', $this->_filtersel); |
|
| 409 | } else { |
|
| 410 | return Smartobject\Utility::getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_filtersel', 'default'); |
|
| 411 | } |
|
| 412 | } |
|
| 413 | ||
| 414 | /** |
|
| 415 | * @return array|bool |
|