PHP Класс Pimcore\Model\Document\Hardlink\Service

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
getChildByPath ( Hardlink $hardlink, string $path ) : Document this is used to get childs below a hardlink by a path for example: the requested path is /de/service/contact but /de/service is a hardlink to /en/service then $hardlink would be /en/service and $path /de/service/contact and this function returns then /en/service/contact
getNearestChildByPath ( Hardlink $hardlink, $path ) : Document
upperCastDocument ( Document $doc ) : Document
wrap ( Document $doc ) : Document

Описание методов

getChildByPath() публичный статический Метод

this is used to get childs below a hardlink by a path for example: the requested path is /de/service/contact but /de/service is a hardlink to /en/service then $hardlink would be /en/service and $path /de/service/contact and this function returns then /en/service/contact
public static getChildByPath ( Hardlink $hardlink, string $path ) : Document
$hardlink Pimcore\Model\Document\Hardlink
$path string
Результат Pimcore\Model\Document

getNearestChildByPath() публичный статический Метод

public static getNearestChildByPath ( Hardlink $hardlink, $path ) : Document
$hardlink Pimcore\Model\Document\Hardlink
$path
Результат Pimcore\Model\Document

upperCastDocument() публичный статический Метод

public static upperCastDocument ( Document $doc ) : Document
$doc Pimcore\Model\Document
Результат Pimcore\Model\Document

wrap() публичный статический Метод

public static wrap ( Document $doc ) : Document
$doc Pimcore\Model\Document
Результат Pimcore\Model\Document