PHP 클래스 Neos\FluidAdaptor\ViewHelpers\Format\IdentifierViewHelper

Usually the identifier is the UUID of the object, but it could be an array of the identity properties, too.
또한 보기: Neos\Flow\Persistence\PersistenceManagerInterface::getIdentifierByObject() Useful for using the identifier outside of the form view helpers (e.g. JavaScript and AJAX). = Examples = {post.blog -> f:format.identifier()} 97e7e90a-413c-44ef-b2d0-ddfa4387b5ca // depending on {post.blog} {identifier: '{someObject -> f:format.identifier()}'} {"identifier":"bf37f335-b273-4353-af77-fd8dc65cb66f"} // depending on the UUID of {someObject}
상속: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$escapeChildren boolean
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface

공개 메소드들

메소드 설명
render ( object $value = null ) : mixed Outputs the identifier of the specified object

메소드 상세

render() 공개 메소드

Outputs the identifier of the specified object
public render ( object $value = null ) : mixed
$value object the object to render the identifier for, or NULL if VH children should be used
리턴 mixed the identifier of $value, usually the UUID

프로퍼티 상세

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

protected bool $escapeChildren
리턴 boolean

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

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
리턴 Neos\Flow\Persistence\PersistenceManagerInterface