Pimcore\Model\Document\Page::getFullPath PHP Метод

getFullPath() публичный Метод

public getFullPath ( )
    public function getFullPath()
    {
        $path = parent::getFullPath();
        // do not use pretty url's when in admin, the current document is wrapped by a hardlink or this document isn't in the current site
        if (!\Pimcore::inAdmin() && !$this instanceof Hardlink\Wrapper\WrapperInterface && \Pimcore\Tool\Frontend::isDocumentInCurrentSite($this)) {
            // check for a pretty url
            $prettyUrl = $this->getPrettyUrl();
            if (!empty($prettyUrl) && strlen($prettyUrl) > 1) {
                return $prettyUrl;
            }
        }
        return $path;
    }