| @@ 59-70 (lines=12) @@ | ||
| 56 | * |
|
| 57 | * @return mixed |
|
| 58 | */ |
|
| 59 | public function getValue() |
|
| 60 | { |
|
| 61 | $from_input = $this |
|
| 62 | ->grid |
|
| 63 | ->getInputProcessor() |
|
| 64 | ->getFilterValue($this->config->getId()); |
|
| 65 | if ($from_input === null) { |
|
| 66 | return $this->config->getDefaultValue(); |
|
| 67 | } else { |
|
| 68 | return $from_input; |
|
| 69 | } |
|
| 70 | } |
|
| 71 | ||
| 72 | /** |
|
| 73 | * Renders filtering control. |
|
| @@ 82-93 (lines=12) @@ | ||
| 79 | return $this; |
|
| 80 | } |
|
| 81 | ||
| 82 | public function getStartValue() |
|
| 83 | { |
|
| 84 | $from_input = $this |
|
| 85 | ->grid |
|
| 86 | ->getInputProcessor() |
|
| 87 | ->getFilterValue($this->name . '_start'); |
|
| 88 | if ($from_input === null) { |
|
| 89 | return $this->getDefaultStartValue(); |
|
| 90 | } else { |
|
| 91 | return $from_input; |
|
| 92 | } |
|
| 93 | } |
|
| 94 | ||
| 95 | ||
| 96 | public function getEndValue() |
|
| @@ 96-107 (lines=12) @@ | ||
| 93 | } |
|
| 94 | ||
| 95 | ||
| 96 | public function getEndValue() |
|
| 97 | { |
|
| 98 | $from_input = $this |
|
| 99 | ->grid |
|
| 100 | ->getInputProcessor() |
|
| 101 | ->getFilterValue($this->name . '_end'); |
|
| 102 | if ($from_input === null) { |
|
| 103 | return $this->getDefaultEndValue(); |
|
| 104 | } else { |
|
| 105 | return $from_input; |
|
| 106 | } |
|
| 107 | } |
|
| 108 | ||
| 109 | public function getValue() |
|
| 110 | { |
|