Feature #20684 » 11431_v2.diff
t3lib/class.t3lib_page.php (working copy) | ||
---|---|---|
if (is_array($this->cache_getPage[$uid][$cacheKey])) {
|
||
return $this->cache_getPage[$uid][$cacheKey];
|
||
}
|
||
// Hook to manipulate the page uid (eg. for special overlay handling)
|
||
$hookObjectsArr = array();
|
||
if (is_array ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPage'])) {
|
||
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getPage'] as $classRef) {
|
||
$hookObjectsArr[] = &t3lib_div::getUserObj($classRef);
|
||
}
|
||
}
|
||
foreach($hookObjectsArr as $hookObj) {
|
||
if (method_exists($hookObj, 'manipulatePageUid')) {
|
||
$hookObj->manipulatePageUid($uid, $disableGroupAccessCheck, $this);
|
||
}
|
||
}
|
||
$result = array();
|
||
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('*', 'pages', 'uid='.intval($uid).$this->where_hid_del.$accessCheck);
|
||
$row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
|