TYPO3
7.6
|
Public Member Functions | |
__construct ($uid, $mountPointParameter= '', PageRepository $context=null) | |
getCacheIdentifier ($otherUid=null) | |
get () | |
isMountedPage () | |
Static Public Member Functions | |
static | purgeCaches () |
Protected Member Functions | |
initializeObject () | |
getRecordArray ($uid) | |
columnHasRelationToResolve (array $configuration) | |
processMountedPage (array $mountedPageData, array $mountPointPageData) | |
parseMountPointParameter () | |
Protected Attributes | |
$pageUid | |
$mountPointParameter | |
$parsedMountPointParameters = array() | |
$languageUid = 0 | |
$workspaceUid = 0 | |
$versionPreview = false | |
$pageContext | |
$cacheIdentifier | |
$databaseConnection | |
Static Protected Attributes | |
static | $cache = null |
static | $localCache = array() |
static | $rootlineFields |
static | $pageRecordCache = array() |
A utility resolving and Caching the Rootline generation
Definition at line 22 of file RootlineUtility.php.
__construct | ( | $uid, | |
$mountPointParameter = '' , |
|||
PageRepository | $context = null |
||
) |
int | $uid | |
string | $mountPointParameter | |
\TYPO3\CMS\Frontend\Page\PageRepository | $context |
\RuntimeException |
Definition at line 122 of file RootlineUtility.php.
References $GLOBALS, RootlineUtility\$mountPointParameter, RootlineUtility\initializeObject(), and GeneralUtility\makeInstance().
|
protected |
Checks whether the TCA Configuration array of a column describes a relation which is not stored as CSV in the record
array | $configuration | TCA configuration to check |
Definition at line 339 of file RootlineUtility.php.
get | ( | ) |
Returns the actual rootline
Definition at line 206 of file RootlineUtility.php.
References RootlineUtility\$cacheIdentifier, and RootlineUtility\getCacheIdentifier().
getCacheIdentifier | ( | $otherUid = null | ) |
Constructs the cache Identifier
int | $otherUid |
Definition at line 185 of file RootlineUtility.php.
References RootlineUtility\$mountPointParameter.
Referenced by RootlineUtility\get(), RootlineUtility\getRecordArray(), and RootlineUtility\initializeObject().
|
protected |
Queries the database for the page record and returns it.
int | $uid | Page id |
\RuntimeException |
Definition at line 242 of file RootlineUtility.php.
References PageRepository\DOKTYPE_RECYCLER, and RootlineUtility\getCacheIdentifier().
|
protected |
Initialize a state to work with
\RuntimeException |
Definition at line 144 of file RootlineUtility.php.
References $GLOBALS, RootlineUtility\getCacheIdentifier(), GeneralUtility\makeInstance(), RootlineUtility\parseMountPointParameter(), and GeneralUtility\trimExplode().
Referenced by RootlineUtility\__construct().
isMountedPage | ( | ) |
Checks whether the current Page is a Mounted Page (according to the MP-URL-Parameter)
Definition at line 399 of file RootlineUtility.php.
|
protected |
Parse the MountPoint Parameters Splits the MP-Param via "," for several nested mountpoints and afterwords registers the mountpoint configurations
Definition at line 441 of file RootlineUtility.php.
References GeneralUtility\intExplode(), and GeneralUtility\trimExplode().
Referenced by RootlineUtility\initializeObject().
|
protected |
Enhances with mount point information or replaces the node if needed
array | $mountedPageData | page record array of mounted page |
array | $mountPointPageData | page record array of mount point page |
\RuntimeException |
Definition at line 412 of file RootlineUtility.php.
References RootlineUtility\$pageUid.
|
static |
Purges all rootline caches.
Note: This function is intended to be used in unit tests only.
Definition at line 173 of file RootlineUtility.php.
|
staticprotected |
Definition at line 57 of file RootlineUtility.php.
|
protected |
Definition at line 104 of file RootlineUtility.php.
Referenced by RootlineUtility\get().
|
protected |
Definition at line 114 of file RootlineUtility.php.
|
protected |
Definition at line 42 of file RootlineUtility.php.
|
staticprotected |
Definition at line 62 of file RootlineUtility.php.
|
protected |
Definition at line 32 of file RootlineUtility.php.
Referenced by RootlineUtility\__construct(), and RootlineUtility\getCacheIdentifier().
|
protected |
Definition at line 99 of file RootlineUtility.php.
|
staticprotected |
Definition at line 109 of file RootlineUtility.php.
|
protected |
Definition at line 27 of file RootlineUtility.php.
Referenced by RootlineUtility\processMountedPage().
|
protected |
Definition at line 37 of file RootlineUtility.php.
|
staticprotected |
Definition at line 69 of file RootlineUtility.php.
|
protected |
Definition at line 52 of file RootlineUtility.php.
|
protected |
Definition at line 47 of file RootlineUtility.php.