PHP 클래스 Neos\ContentRepository\Domain\Model\NodeTemplate

상속: extends AbstractNodeData
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$identifier string The UUID to use for the new node. Use with care.
$name string The node name which acts as a path segment for its node path

공개 메소드들

메소드 설명
getIdentifier ( ) : string Returns the UUID set in this NodeTemplate.
getName ( ) : string Get the name of this node template.
getWorkspace ( ) : void A NodeTemplate is not stored in any workspace, thus this method returns NULL.
setIdentifier ( string $identifier ) : void Allows to set a UUID to use for the node that will be created from this NodeTemplate. Use with care, usually identifier generation should be left to the ContentRepository.
setName ( string $newName ) : void Set the name to $newName

메소드 상세

getIdentifier() 공개 메소드

Returns the UUID set in this NodeTemplate.
public getIdentifier ( ) : string
리턴 string

getName() 공개 메소드

If a name has been set using setName(), it is returned. If not, but the template has a (non-empty) title property, this property is used to generate a valid name. As a last resort a random name is returned (in the form "name-XXXXX").
public getName ( ) : string
리턴 string

getWorkspace() 공개 메소드

A NodeTemplate is not stored in any workspace, thus this method returns NULL.
public getWorkspace ( ) : void
리턴 void

setIdentifier() 공개 메소드

Allows to set a UUID to use for the node that will be created from this NodeTemplate. Use with care, usually identifier generation should be left to the ContentRepository.
public setIdentifier ( string $identifier ) : void
$identifier string
리턴 void

setName() 공개 메소드

Set the name to $newName
public setName ( string $newName ) : void
$newName string
리턴 void

프로퍼티 상세

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

The UUID to use for the new node. Use with care.
protected string $identifier
리턴 string

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

The node name which acts as a path segment for its node path
protected string $name
리턴 string