| @@ 190-197 (lines=8) @@ | ||
| 187 | /** |
|
| 188 | * @return string |
|
| 189 | */ |
|
| 190 | public function getDefaultSort() |
|
| 191 | { |
|
| 192 | if ($this->_sortsel) { |
|
| 193 | return smart_getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_sortsel', $this->_sortsel); |
|
| 194 | } else { |
|
| 195 | return smart_getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_sortsel', $this->_objectHandler->identifierName); |
|
| 196 | } |
|
| 197 | } |
|
| 198 | ||
| 199 | /** |
|
| 200 | * @param $default_order |
|
| @@ 210-217 (lines=8) @@ | ||
| 207 | /** |
|
| 208 | * @return string |
|
| 209 | */ |
|
| 210 | public function getDefaultOrder() |
|
| 211 | { |
|
| 212 | if ($this->_ordersel) { |
|
| 213 | return smart_getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_ordersel', $this->_ordersel); |
|
| 214 | } else { |
|
| 215 | return smart_getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_ordersel', 'ASC'); |
|
| 216 | } |
|
| 217 | } |
|
| 218 | ||
| 219 | /** |
|
| 220 | * @param array $actions |
|
| @@ 410-417 (lines=8) @@ | ||
| 407 | /** |
|
| 408 | * @return string |
|
| 409 | */ |
|
| 410 | public function getDefaultFilter() |
|
| 411 | { |
|
| 412 | if ($this->_filtersel) { |
|
| 413 | return smart_getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_filtersel', $this->_filtersel); |
|
| 414 | } else { |
|
| 415 | return smart_getCookieVar($_SERVER['PHP_SELF'] . '_' . $this->_id . '_filtersel', 'default'); |
|
| 416 | } |
|
| 417 | } |
|
| 418 | ||
| 419 | /** |
|
| 420 | * @return array|bool |
|