Feature #23153 ยป 15083-sectionmarks.patch
t3lib/class.t3lib_page.php (working copy) | ||
---|---|---|
*
|
||
* @param integer The page id to look up.
|
||
* @param boolean If set, the check for group access is disabled. VERY rarely used
|
||
* @param array Additional params
|
||
* @return array The page row with overlayed localized fields. Empty it no page.
|
||
* @see getPage_noCheck()
|
||
*/
|
||
function getPage($uid, $disableGroupAccessCheck=FALSE) {
|
||
function getPage($uid, $disableGroupAccessCheck = FALSE, $params = array()) {
|
||
// Hook to manipulate the page uid for special overlay handling
|
||
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) {
|
||
... | ... | |
throw new UnexpectedValueException('$hookObject must implement interface t3lib_pageSelect_getPageHook', 1251476766);
|
||
}
|
||
$hookObject->getPage_preProcess($uid, $disableGroupAccessCheck, $this);
|
||
$hookObject->getPage_preProcess($uid, $disableGroupAccessCheck, $this, $params);
|
||
}
|
||
}
|
||
t3lib/interfaces/interface.t3lib_pageselect_getpagehook.php (working copy) | ||
---|---|---|
* @param integer The page ID
|
||
* @param boolean If set, the check for group access is disabled. VERY rarely used
|
||
* @param t3lib_pageSelect parent t3lib_pageSelect object
|
||
* @param array Optional parameters
|
||
* @return void
|
||
*/
|
||
public function getPage_preProcess(&$uid, &$disableGroupAccessCheck, t3lib_pageSelect $parentObject);
|
||
public function getPage_preProcess(&$uid, &$disableGroupAccessCheck, t3lib_pageSelect $parentObject, $params = array());
|
||
}
|
||
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
}
|
||
// Looking up the page record to verify its existence:
|
||
$page = $GLOBALS['TSFE']->sys_page->getPage($link_param,$disableGroupAccessCheck);
|
||
$params = array('sectionMark' => $sectionMark);
|
||
$page = $GLOBALS['TSFE']->sys_page->getPage($link_param, $disableGroupAccessCheck, $params);
|
||
if (count($page)) {
|
||
// MointPoints, look for closest MPvar:
|