FluidTYPO3\Vhs\ViewHelpers\Content\AbstractContentViewHelper::getPageUid PHP Méthode

getPageUid() protected méthode

Gets the configured, or the current page UID if none is configured in arguments and no content_from_pid value exists in the current page record's attributes.
protected getPageUid ( ) : integer
Résultat integer
    protected function getPageUid()
    {
        $pageUid = (int) $this->arguments['pageUid'];
        if (1 > $pageUid) {
            $pageUid = (int) $GLOBALS['TSFE']->page['content_from_pid'];
        }
        if (1 > $pageUid) {
            $pageUid = (int) $GLOBALS['TSFE']->id;
        }
        return $pageUid;
    }