1 | <?php |
||
14 | class RepeaterPageView extends BasePageView implements TemplateReadyDocument |
||
15 | { |
||
16 | /** @var \ArrayIterator An iterator for the permalinks used in order for this entity to be treated as a static PageView. */ |
||
17 | private $permalinksIterator; |
||
18 | |||
19 | /** @var ExpandedValue[] All of the expanded permalinks. */ |
||
20 | private $permalinks; |
||
21 | |||
22 | /** @var ExpandedValue[][] All of expanded redirects that should point to the respective permalink; this is estimated by index. */ |
||
23 | private $redirectLinks; |
||
24 | |||
25 | /** |
||
26 | * RepeaterPageView constructor. |
||
27 | */ |
||
28 | 3 | public function __construct(File $file) |
|
34 | |||
35 | public function getPermalinkWhere(array $where) |
||
50 | |||
51 | /** |
||
52 | * Get the expanded values for the permalinks to this PageView. |
||
53 | * |
||
54 | * @return ExpandedValue[] |
||
55 | */ |
||
56 | 3 | public function getRepeaterPermalinks() |
|
60 | |||
61 | /** |
||
62 | * Get the expanded values for the redirects pointing to this PageView. |
||
63 | * |
||
64 | * @return ExpandedValue[][] |
||
65 | */ |
||
66 | 3 | public function getRepeaterRedirects() |
|
70 | |||
71 | /** |
||
72 | * When looping through permalinks in a RepeaterPageView, the permalink needs to be updated each time so that it may |
||
73 | * behave as a static PageView. |
||
74 | */ |
||
75 | 3 | public function bumpPermalink() |
|
80 | |||
81 | /** |
||
82 | * Rewind the permalink iterator to the beginning. |
||
83 | */ |
||
84 | 3 | public function rewindPermalink() |
|
88 | |||
89 | /** |
||
90 | * Configure permalinks from expanded values internally. |
||
91 | */ |
||
92 | 3 | public function configurePermalinks() |
|
102 | |||
103 | /** |
||
104 | * {@inheritdoc} |
||
105 | */ |
||
106 | 3 | public function buildPermalink($force = false) |
|
109 | |||
110 | /** |
||
111 | * {@inheritdoc} |
||
112 | */ |
||
113 | 3 | public function createJail() |
|
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function jsonSerialize() |
||
125 | } |
||
126 |