PHP 클래스 eZ\Publish\Core\FieldType\RichText\InternalLinkValidator

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

공개 메소드들

메소드 설명
__construct ( eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\LocationService $locationService )
validate ( string $scheme, string $id ) : boolean Validates following link formats: 'ezcontent://', 'ezremote://', 'ezlocation://'.

메소드 상세

__construct() 공개 메소드

public __construct ( eZ\Publish\API\Repository\ContentService $contentService, eZ\Publish\API\Repository\LocationService $locationService )
$contentService eZ\Publish\API\Repository\ContentService
$locationService eZ\Publish\API\Repository\LocationService

validate() 공개 메소드

Validates following link formats: 'ezcontent://', 'ezremote://', 'ezlocation://'.
public validate ( string $scheme, string $id ) : boolean
$scheme string
$id string
리턴 boolean