PHP 클래스 Neos\Neos\TypoScript\ConvertUrisImplementation

Right now node:// and asset:// are supported URI schemes. Usage:: [email protected] = Neos.Neos:ConvertUris The optional property forceConversion can be used to have the links converted even when not rendering the live workspace. This is used for links that are not inline editable (for example links on images):: [email protected] = Neos.Neos:ConvertUris { forceConversion = true } The optional property externalLinkTarget can be modified to disable or change the target attribute of the link tag for links to external targets:: prototype(Neos.Neos:ConvertUris) { externalLinkTarget = '_blank' resourceLinkTarget = '_blank' } The optional property absolute can be used to convert node uris to absolute links:: [email protected] = Neos.Neos:ConvertUris { absolute = true }
상속: extends Neos\Fusion\TypoScriptObjects\AbstractTypoScriptObject
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$linkingService Neos\Neos\Service\LinkingService

공개 메소드들

메소드 설명
evaluate ( ) : string Convert URIs matching a supported scheme with generated URIs

보호된 메소드들

메소드 설명
replaceLinkTargets ( string $processedContent ) : string Replace the target attribute of link tags in processedContent with the target specified by externalLinkTarget and resourceLinkTarget options.

메소드 상세

evaluate() 공개 메소드

If the workspace of the current node context is not live, no replacement will be done unless forceConversion is set. This is needed to show the editable links with metadata in the content module.
public evaluate ( ) : string
리턴 string

replaceLinkTargets() 보호된 메소드

Replace the target attribute of link tags in processedContent with the target specified by externalLinkTarget and resourceLinkTarget options.
protected replaceLinkTargets ( string $processedContent ) : string
$processedContent string
리턴 string

프로퍼티 상세

$linkingService 보호되어 있는 프로퍼티

protected LinkingService,Neos\Neos\Service $linkingService
리턴 Neos\Neos\Service\LinkingService