‪TYPO3CMS  9.5
PageRepositoryTest.php
Go to the documentation of this file.
1 <?php
3 
4 /*
5  * This file is part of the TYPO3 CMS project.
6  *
7  * It is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License, either version 2
9  * of the License, or any later version.
10  *
11  * For the full copyright and license information, please read the
12  * LICENSE.txt file that was distributed with this source code.
13  *
14  * The TYPO3 project - inspiring people to share!
15  */
16 
17 use Prophecy\Argument;
26 
30 class ‪PageRepositoryTest extends \TYPO3\TestingFramework\Core\Functional\FunctionalTestCase
31 {
32  protected ‪$coreExtensionsToLoad = ['frontend'];
33 
34  protected function ‪setUp()
35  {
36  parent::setUp();
37  $this->importDataSet(__DIR__ . '/../Fixtures/pages.xml');
38  }
39 
43  public function ‪getMenuSingleUidRoot()
44  {
45  $subject = new ‪PageRepository();
46  $rows = $subject->getMenu(1, 'uid, title');
47  $this->assertArrayHasKey(2, $rows);
48  $this->assertArrayHasKey(3, $rows);
49  $this->assertArrayHasKey(4, $rows);
50  $this->assertCount(3, $rows);
51  }
52 
56  public function ‪getMenuSingleUidSubpage()
57  {
58  $subject = new ‪PageRepository();
59  $rows = $subject->getMenu(2, 'uid, title');
60  $this->assertArrayHasKey(5, $rows);
61  $this->assertArrayHasKey(7, $rows);
62  $this->assertCount(2, $rows);
63  }
64 
68  public function ‪getMenuMultipleUid()
69  {
70  $subject = new ‪PageRepository();
71  $rows = $subject->getMenu([2, 3], 'uid, title');
72  $this->assertArrayHasKey(5, $rows);
73  $this->assertArrayHasKey(7, $rows);
74  $this->assertArrayHasKey(8, $rows);
75  $this->assertArrayHasKey(9, $rows);
76  $this->assertCount(4, $rows);
77  }
78 
82  public function ‪getMenuPageOverlay()
83  {
84  $subject = new ‪PageRepository(new ‪Context([
85  'language' => new ‪LanguageAspect(1)
86  ]));
87 
88  $rows = $subject->getMenu([2, 3], 'uid, title');
89  $this->assertEquals('Attrappe 1-2-5', $rows[5]['title']);
90  $this->assertEquals('Dummy 1-2-7', $rows[7]['title']);
91  $this->assertEquals('Dummy 1-3-8', $rows[8]['title']);
92  $this->assertEquals('Attrappe 1-3-9', $rows[9]['title']);
93  $this->assertCount(4, $rows);
94  }
95 
99  public function ‪getPageOverlayById()
100  {
101  $subject = new ‪PageRepository();
102  $row = $subject->getPageOverlay(1, 1);
103  $this->‪assertOverlayRow($row);
104  $this->assertEquals('Wurzel 1', $row['title']);
105  $this->assertEquals('901', $row['_PAGES_OVERLAY_UID']);
106  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
107  }
108 
113  {
114  $subject = new ‪PageRepository();
115  $row = $subject->getPageOverlay(4, 1);
116  $this->assertInternalType('array', $row);
117  $this->assertCount(0, $row);
118  }
119 
123  public function ‪getPageOverlayByRow()
124  {
125  $subject = new ‪PageRepository();
126  $orig = $subject->getPage(1);
127  $row = $subject->getPageOverlay($orig, 1);
128  $this->‪assertOverlayRow($row);
129  $this->assertEquals(1, $row['uid']);
130  $this->assertEquals('Wurzel 1', $row['title']);
131  $this->assertEquals('901', $row['_PAGES_OVERLAY_UID']);
132  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
133  }
134 
139  {
140  $subject = new ‪PageRepository();
141  $orig = $subject->getPage(4);
142  $row = $subject->getPageOverlay($orig, 1);
143  $this->assertInternalType('array', $row);
144  $this->assertEquals(4, $row['uid']);
145  $this->assertEquals('Dummy 1-4', $row['title']);//original title
146  }
147 
152  {
153  $subject = new ‪PageRepository(new ‪Context([
154  'language' => new ‪LanguageAspect(1)
155  ]));
156  $rows = $subject->getPagesOverlay([1]);
157  $this->assertInternalType('array', $rows);
158  $this->assertCount(1, $rows);
159  $this->assertArrayHasKey(0, $rows);
160 
161  $row = $rows[0];
162  $this->‪assertOverlayRow($row);
163  $this->assertEquals('Wurzel 1', $row['title']);
164  $this->assertEquals('901', $row['_PAGES_OVERLAY_UID']);
165  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
166  }
167 
172  {
173  $subject = new ‪PageRepository(new ‪Context([
174  'language' => new ‪LanguageAspect(1)
175  ]));
176  $rows = $subject->getPagesOverlay([1, 5]);
177  $this->assertInternalType('array', $rows);
178  $this->assertCount(2, $rows);
179  $this->assertArrayHasKey(0, $rows);
180  $this->assertArrayHasKey(1, $rows);
181 
182  $row = $rows[0];
183  $this->‪assertOverlayRow($row);
184  $this->assertEquals('Wurzel 1', $row['title']);
185  $this->assertEquals('901', $row['_PAGES_OVERLAY_UID']);
186  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
187 
188  $row = $rows[1];
189  $this->‪assertOverlayRow($row);
190  $this->assertEquals('Attrappe 1-2-5', $row['title']);
191  $this->assertEquals('904', $row['_PAGES_OVERLAY_UID']);
192  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
193  }
194 
199  {
200  $subject = new ‪PageRepository(new ‪Context([
201  'language' => new ‪LanguageAspect(1)
202  ]));
203  $rows = $subject->getPagesOverlay([1, 4, 5, 8]);
204  $this->assertInternalType('array', $rows);
205  $this->assertCount(2, $rows);
206  $this->assertArrayHasKey(0, $rows);
207  $this->assertArrayHasKey(2, $rows);
208 
209  $row = $rows[0];
210  $this->‪assertOverlayRow($row);
211  $this->assertEquals('Wurzel 1', $row['title']);
212 
213  $row = $rows[2];
214  $this->‪assertOverlayRow($row);
215  $this->assertEquals('Attrappe 1-2-5', $row['title']);
216  }
217 
222  {
223  $subject = new ‪PageRepository();
224  $origRow = $subject->getPage(1);
225 
226  $subject = new ‪PageRepository(new ‪Context([
227  'language' => new ‪LanguageAspect(1)
228  ]));
229  $rows = $subject->getPagesOverlay([$origRow]);
230  $this->assertInternalType('array', $rows);
231  $this->assertCount(1, $rows);
232  $this->assertArrayHasKey(0, $rows);
233 
234  $row = $rows[0];
235  $this->‪assertOverlayRow($row);
236  $this->assertEquals('Wurzel 1', $row['title']);
237  $this->assertEquals('901', $row['_PAGES_OVERLAY_UID']);
238  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
239  }
240 
245  {
246  $subject = new ‪PageRepository();
247  $origRow = $subject->getPage(6, true);
248 
249  $subject = new ‪PageRepository(new ‪Context([
250  'language' => new ‪LanguageAspect(1)
251  ]));
252  $rows = $subject->getPagesOverlay([$origRow]);
253  self::assertIsArray($rows);
254  self::assertCount(1, $rows);
255  self::assertArrayHasKey(0, $rows);
256 
257  $row = $rows[0];
258  $this->‪assertOverlayRow($row);
259  self::assertEquals('Attrappe 1-2-6', $row['title']);
260  self::assertEquals('905', $row['_PAGES_OVERLAY_UID']);
261  self::assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
262  }
263 
268  {
269  $subject = new ‪PageRepository();
270  $orig1 = $subject->getPage(1);
271  $orig2 = $subject->getPage(5);
272 
273  $subject = new ‪PageRepository(new ‪Context([
274  'language' => new ‪LanguageAspect(1)
275  ]));
276  $rows = $subject->getPagesOverlay([1 => $orig1, 5 => $orig2]);
277  $this->assertInternalType('array', $rows);
278  $this->assertCount(2, $rows);
279  $this->assertArrayHasKey(1, $rows);
280  $this->assertArrayHasKey(5, $rows);
281 
282  $row = $rows[1];
283  $this->‪assertOverlayRow($row);
284  $this->assertEquals('Wurzel 1', $row['title']);
285  $this->assertEquals('901', $row['_PAGES_OVERLAY_UID']);
286  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
287 
288  $row = $rows[5];
289  $this->‪assertOverlayRow($row);
290  $this->assertEquals('Attrappe 1-2-5', $row['title']);
291  $this->assertEquals('904', $row['_PAGES_OVERLAY_UID']);
292  $this->assertEquals(1, $row['_PAGES_OVERLAY_LANGUAGE']);
293  }
294 
299  {
300  $subject = new ‪PageRepository();
301  $orig1 = $subject->getPage(1);
302  $orig2 = $subject->getPage(7);
303  $orig3 = $subject->getPage(9);
304 
305  $subject = new ‪PageRepository(new ‪Context([
306  'language' => new ‪LanguageAspect(1)
307  ]));
308  $rows = $subject->getPagesOverlay([$orig1, $orig2, $orig3]);
309  $this->assertInternalType('array', $rows);
310  $this->assertCount(3, $rows);
311  $this->assertArrayHasKey(0, $rows);
312  $this->assertArrayHasKey(1, $rows);
313  $this->assertArrayHasKey(2, $rows);
314 
315  $row = $rows[0];
316  $this->‪assertOverlayRow($row);
317  $this->assertEquals('Wurzel 1', $row['title']);
318 
319  $row = $rows[1];
320  $this->‪assertNotOverlayRow($row);
321  $this->assertEquals('Dummy 1-2-7', $row['title']);
322 
323  $row = $rows[2];
324  $this->‪assertOverlayRow($row);
325  $this->assertEquals('Attrappe 1-3-9', $row['title']);
326  }
327 
333  public function ‪isGetPageHookCalled()
334  {
335  // Create a hook mock object
336  $getPageHookProphet = $this->prophesize(\stdClass::class);
337  $getPageHookProphet->willImplement(PageRepositoryGetPageHookInterface::class);
338  $getPageHookProphet->getPage_preProcess(42, false, Argument::type(PageRepository::class))->shouldBeCalled();
339  $getPageHookMock = $getPageHookProphet->reveal();
340  $className = get_class($getPageHookMock);
341 
342  // Register hook mock object
343  GeneralUtility::addInstance($className, $getPageHookMock);
344  ‪$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPage'][] = $className;
345  $subject = new ‪PageRepository();
346  $subject->getPage(42, false);
347  }
348 
353  {
354  $workspaceId = 2;
355  $subject = new ‪PageRepository(new ‪Context([
356  'workspace' => new ‪WorkspaceAspect($workspaceId)
357  ]));
358 
359  $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('pages');
360 
361  $expectedSQL = sprintf(
362  ' AND (%s = 0) AND ((%s = 0) OR (%s = 2)) AND (%s < 200)',
363  $connection->quoteIdentifier('pages.deleted'),
364  $connection->quoteIdentifier('pages.t3ver_wsid'),
365  $connection->quoteIdentifier('pages.t3ver_wsid'),
366  $connection->quoteIdentifier('pages.doktype')
367  );
368 
369  $this->assertSame($expectedSQL, $subject->where_hid_del);
370  }
371 
376  {
377  $subject = new ‪PageRepository(new ‪Context([
378  'date' => new ‪DateTimeAspect(new \DateTimeImmutable('@1451779200'))
379  ]));
380 
381  $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('pages');
382  $expectedSQL = sprintf(
383  ' AND ((%s = 0) AND (%s <= 0) AND (%s = 0) AND (%s <= 1451779200) AND ((%s = 0) OR (%s > 1451779200))) AND (%s < 200)',
384  $connection->quoteIdentifier('pages.deleted'),
385  $connection->quoteIdentifier('pages.t3ver_state'),
386  $connection->quoteIdentifier('pages.hidden'),
387  $connection->quoteIdentifier('pages.starttime'),
388  $connection->quoteIdentifier('pages.endtime'),
389  $connection->quoteIdentifier('pages.endtime'),
390  $connection->quoteIdentifier('pages.doktype')
391  );
392 
393  $this->assertSame($expectedSQL, $subject->where_hid_del);
394  }
395 
397  // Tests concerning workspaces
399 
404  {
405  // initialization
406  $wsid = 987654321;
407  // simulate calls from \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->fetch_the_id()
408  $subject = new ‪PageRepository(new ‪Context([
409  'workspace' => new ‪WorkspaceAspect($wsid)
410  ]));
411 
412  $pageRec = $subject->getPage(11);
413 
414  $this->assertEquals(11, $pageRec['uid']);
415  $this->assertEquals(11, $pageRec['t3ver_oid']);
416  $this->assertEquals(987654321, $pageRec['t3ver_wsid']);
417  $this->assertEquals(-1, $pageRec['t3ver_state']);
418  $this->assertSame('First draft version', $pageRec['t3ver_label']);
419  }
420 
425  {
426  // initialization
427  $wsid = 987654321;
428 
429  // simulate calls from \TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController->fetch_the_id()
430  $subject = new ‪PageRepository(new ‪Context([
431  'workspace' => new ‪WorkspaceAspect($wsid)
432  ]));
433 
434  $pageRec = $subject->getWorkspaceVersionOfRecord($wsid, 'pages', 11);
435 
436  $this->assertEquals(12, $pageRec['uid']);
437  $this->assertEquals(11, $pageRec['t3ver_oid']);
438  $this->assertEquals(987654321, $pageRec['t3ver_wsid']);
439  $this->assertEquals(-1, $pageRec['t3ver_state']);
440  $this->assertSame('First draft version', $pageRec['t3ver_label']);
441  }
442 
444  // Tests concerning versioning
446 
451  {
452  $table = $this->getUniqueId('aTable');
453  ‪$GLOBALS['TCA'][$table] = [
454  'ctrl' => [
455  'versioningWS' => true
456  ]
457  ];
458 
459  $subject = new ‪PageRepository(new ‪Context());
460 
461  $conditions = $subject->enableFields($table);
462  $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($table);
463 
464  $this->assertThat(
465  $conditions,
466  $this->stringContains(' AND (' . $connection->quoteIdentifier($table . '.t3ver_state') . ' <= 0)'),
467  'Versioning placeholders'
468  );
469  $this->assertThat(
470  $conditions,
471  $this->stringContains(' AND (' . $connection->quoteIdentifier($table . '.pid') . ' <> -1)'),
472  'Records from page -1'
473  );
474  }
475 
480  {
481  $table = $this->getUniqueId('aTable');
482  ‪$GLOBALS['TCA'][$table] = [
483  'ctrl' => [
484  'versioningWS' => true
485  ]
486  ];
487 
488  $subject = new ‪PageRepository(new ‪Context([
489  'workspace' => new ‪WorkspaceAspect(13)
490  ]));
491 
492  $conditions = $subject->enableFields($table);
493  $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($table);
494 
495  $this->assertThat(
496  $conditions,
497  $this->logicalNot($this->stringContains(' AND (' . $connection->quoteIdentifier($table . '.t3ver_state') . ' <= 0)')),
498  'No versioning placeholders'
499  );
500  $this->assertThat(
501  $conditions,
502  $this->stringContains(' AND (' . $connection->quoteIdentifier($table . '.pid') . ' <> -1)'),
503  'Records from page -1'
504  );
505  }
506 
511  {
512  $table = $this->getUniqueId('aTable');
513  ‪$GLOBALS['TCA'][$table] = [
514  'ctrl' => [
515  'versioningWS' => true
516  ]
517  ];
518 
519  $subject = new ‪PageRepository(new ‪Context([
520  'workspace' => new ‪WorkspaceAspect(2)
521  ]));
522 
523  $conditions = $subject->enableFields($table);
524  $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($table);
525 
526  $this->assertThat(
527  $conditions,
528  $this->stringContains(' AND ((' . $connection->quoteIdentifier($table . '.t3ver_wsid') . ' = 0) OR (' . $connection->quoteIdentifier($table . '.t3ver_wsid') . ' = 2))'),
529  'No versioning placeholders'
530  );
531  }
532 
537  {
538  $table = $this->getUniqueId('aTable');
539  ‪$GLOBALS['TCA'][$table] = [
540  'ctrl' => [
541  'versioningWS' => true
542  ]
543  ];
544 
545  $subject = new ‪PageRepository(new ‪Context([
546  'workspace' => new ‪WorkspaceAspect(23)
547  ]));
548 
549  $conditions = $subject->enableFields($table, -1, [], true);
550  $connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($table);
551 
552  $this->assertThat(
553  $conditions,
554  $this->logicalNot($this->stringContains(' AND (' . $connection->quoteIdentifier($table . '.t3ver_state') . ' <= 0)')),
555  'No versioning placeholders'
556  );
557  $this->assertThat(
558  $conditions,
559  $this->logicalNot($this->stringContains(' AND (' . $connection->quoteIdentifier($table . '.pid') . ' <> -1)')),
560  'No records from page -1'
561  );
562  }
563 
564  protected function ‪assertOverlayRow($row)
565  {
566  $this->assertInternalType('array', $row);
567 
568  $this->assertArrayHasKey('_PAGES_OVERLAY', $row);
569  $this->assertArrayHasKey('_PAGES_OVERLAY_UID', $row);
570  $this->assertArrayHasKey('_PAGES_OVERLAY_LANGUAGE', $row);
571 
572  $this->assertTrue($row['_PAGES_OVERLAY']);
573  }
574 
575  protected function ‪assertNotOverlayRow($row)
576  {
577  $this->assertInternalType('array', $row);
578 
579  $this->assertFalse(isset($row['_PAGES_OVERLAY']));
580  $this->assertFalse(isset($row['_PAGES_OVERLAY_UID']));
581  $this->assertFalse(isset($row['_PAGES_OVERLAY_LANGUAGE']));
582  }
583 }
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPageOverlayByRowWithoutTranslation
‪getPageOverlayByRowWithoutTranslation()
Definition: PageRepositoryTest.php:138
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPagesOverlayByIdMultiple
‪getPagesOverlayByIdMultiple()
Definition: PageRepositoryTest.php:171
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPagesOverlayByRowSingle
‪getPagesOverlayByRowSingle()
Definition: PageRepositoryTest.php:221
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\assertOverlayRow
‪assertOverlayRow($row)
Definition: PageRepositoryTest.php:564
‪TYPO3\CMS\Frontend\Tests\Functional\Page
Definition: PageRepositoryTest.php:2
‪TYPO3\CMS\Core\Context\WorkspaceAspect
Definition: WorkspaceAspect.php:29
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getWorkspaceVersionReturnsTheCorrectMethod
‪getWorkspaceVersionReturnsTheCorrectMethod()
Definition: PageRepositoryTest.php:424
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getMenuSingleUidRoot
‪getMenuSingleUidRoot()
Definition: PageRepositoryTest.php:43
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\enableFieldsHidesVersionedRecordsAndPlaceholders
‪enableFieldsHidesVersionedRecordsAndPlaceholders()
Definition: PageRepositoryTest.php:450
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPagesOverlayByRowMultipleSomeNotOverlaid
‪getPagesOverlayByRowMultipleSomeNotOverlaid()
Definition: PageRepositoryTest.php:298
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPageOverlayById
‪getPageOverlayById()
Definition: PageRepositoryTest.php:99
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest
Definition: PageRepositoryTest.php:31
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\initSetsPublicPropertyCorrectlyForWorkspacePreview
‪initSetsPublicPropertyCorrectlyForWorkspacePreview()
Definition: PageRepositoryTest.php:352
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPageOverlayByIdWithoutTranslation
‪getPageOverlayByIdWithoutTranslation()
Definition: PageRepositoryTest.php:112
‪TYPO3\CMS\Core\Context\Context
Definition: Context.php:49
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getMenuSingleUidSubpage
‪getMenuSingleUidSubpage()
Definition: PageRepositoryTest.php:56
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\isGetPageHookCalled
‪isGetPageHookCalled()
Definition: PageRepositoryTest.php:333
‪TYPO3\CMS\Frontend\Page\PageRepositoryGetPageHookInterface
Definition: PageRepositoryGetPageHookInterface.php:21
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPageOverlayByRow
‪getPageOverlayByRow()
Definition: PageRepositoryTest.php:123
‪TYPO3\CMS\Frontend\Page\PageRepository
Definition: PageRepository.php:53
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\assertNotOverlayRow
‪assertNotOverlayRow($row)
Definition: PageRepositoryTest.php:575
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPagesOverlayByIdMultipleSomeNotOverlaid
‪getPagesOverlayByIdMultipleSomeNotOverlaid()
Definition: PageRepositoryTest.php:198
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\setUp
‪setUp()
Definition: PageRepositoryTest.php:34
‪TYPO3\CMS\Core\Context\LanguageAspect
Definition: LanguageAspect.php:55
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\$coreExtensionsToLoad
‪$coreExtensionsToLoad
Definition: PageRepositoryTest.php:32
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\enableFieldsDoesNotHideVersionedRecordsWhenCheckingVersionOverlays
‪enableFieldsDoesNotHideVersionedRecordsWhenCheckingVersionOverlays()
Definition: PageRepositoryTest.php:536
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\enableFieldsDoesNotHidePlaceholdersInPreview
‪enableFieldsDoesNotHidePlaceholdersInPreview()
Definition: PageRepositoryTest.php:479
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPagesOverlayByIdSingle
‪getPagesOverlayByIdSingle()
Definition: PageRepositoryTest.php:151
‪$GLOBALS
‪$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['adminpanel']['modules']
Definition: ext_localconf.php:5
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getMenuMultipleUid
‪getMenuMultipleUid()
Definition: PageRepositoryTest.php:68
‪TYPO3\CMS\Core\Database\ConnectionPool
Definition: ConnectionPool.php:44
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\groupRestrictedPageCanBeOverlaid
‪groupRestrictedPageCanBeOverlaid()
Definition: PageRepositoryTest.php:244
‪TYPO3\CMS\Core\Utility\GeneralUtility
Definition: GeneralUtility.php:45
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\previewShowsPagesFromLiveAndCurrentWorkspace
‪previewShowsPagesFromLiveAndCurrentWorkspace()
Definition: PageRepositoryTest.php:403
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\initSetsPublicPropertyCorrectlyForLive
‪initSetsPublicPropertyCorrectlyForLive()
Definition: PageRepositoryTest.php:375
‪TYPO3\CMS\Core\Context\DateTimeAspect
Definition: DateTimeAspect.php:33
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\enableFieldsDoesFilterToCurrentAndLiveWorkspaceForRecordsInPreview
‪enableFieldsDoesFilterToCurrentAndLiveWorkspaceForRecordsInPreview()
Definition: PageRepositoryTest.php:510
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getPagesOverlayByRowMultiple
‪getPagesOverlayByRowMultiple()
Definition: PageRepositoryTest.php:267
‪TYPO3\CMS\Frontend\Tests\Functional\Page\PageRepositoryTest\getMenuPageOverlay
‪getMenuPageOverlay()
Definition: PageRepositoryTest.php:82