PHP 클래스 Pimcore\Model\Document\Hardlink\Service

파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 메소드들

메소드 설명
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