| @@ 260-272 (lines=13) @@ | ||
| 257 | * |
|
| 258 | * @since 0.1.0 |
|
| 259 | */ |
|
| 260 | private function handleTrackableStaticPageView(&$pageView) |
|
| 261 | { |
|
| 262 | $pageView->evaluateFrontMatter([], [ |
|
| 263 | 'site' => $this->configuration->getConfiguration(), |
|
| 264 | ]); |
|
| 265 | ||
| 266 | if (empty($pageView['title'])) |
|
| 267 | { |
|
| 268 | return; |
|
| 269 | } |
|
| 270 | ||
| 271 | $this->staticPages[$pageView['title']] = &$pageView; |
|
| 272 | } |
|
| 273 | ||
| 274 | /** |
|
| 275 | * Handle special behavior and treatment for dynamic PageViews while we're iterating through them. |
|
| @@ 342-355 (lines=14) @@ | ||
| 339 | * |
|
| 340 | * @since 0.2.0 |
|
| 341 | */ |
|
| 342 | private function handleTrackableRepeaterPageView(&$pageView) |
|
| 343 | { |
|
| 344 | $pageView->evaluateFrontMatter([], [ |
|
| 345 | 'site' => $this->configuration->getConfiguration(), |
|
| 346 | ]); |
|
| 347 | $pageView->configurePermalinks(); |
|
| 348 | ||
| 349 | if (empty($pageView['title'])) |
|
| 350 | { |
|
| 351 | return; |
|
| 352 | } |
|
| 353 | ||
| 354 | $this->repeaterPages[$pageView['title']] = &$pageView; |
|
| 355 | } |
|
| 356 | ||
| 357 | private function registerExplicitAssets(ContentItem $contentItem) |
|
| 358 | { |
|