| @@ 166-178 (lines=13) @@ | ||
| 163 | /** |
|
| 164 | * @access private |
|
| 165 | */ |
|
| 166 | public function registerViewtypeFallback($viewtype) { |
|
| 167 | ||
| 168 | ||
| 169 | if (!isset($this->CONFIG->viewtype)) { |
|
| 170 | $this->CONFIG->viewtype = new \stdClass; |
|
| 171 | } |
|
| 172 | ||
| 173 | if (!isset($this->CONFIG->viewtype->fallback)) { |
|
| 174 | $this->CONFIG->viewtype->fallback = array(); |
|
| 175 | } |
|
| 176 | ||
| 177 | $this->CONFIG->viewtype->fallback[] = $viewtype; |
|
| 178 | } |
|
| 179 | ||
| 180 | /** |
|
| 181 | * @access private |
|
| @@ 511-523 (lines=13) @@ | ||
| 508 | /** |
|
| 509 | * @access private |
|
| 510 | */ |
|
| 511 | public function registerCacheableView($view) { |
|
| 512 | ||
| 513 | ||
| 514 | if (!isset($this->CONFIG->views)) { |
|
| 515 | $this->CONFIG->views = new \stdClass; |
|
| 516 | } |
|
| 517 | ||
| 518 | if (!isset($this->CONFIG->views->simplecache)) { |
|
| 519 | $this->CONFIG->views->simplecache = array(); |
|
| 520 | } |
|
| 521 | ||
| 522 | $this->CONFIG->views->simplecache[$view] = true; |
|
| 523 | } |
|
| 524 | ||
| 525 | /** |
|
| 526 | * @access private |
|