PHP 클래스 Sulu\Component\Content\Compat\Structure\StructureBridge

상속: implements Sulu\Component\Content\Compat\StructureInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$document object
$inspector Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector
$locale string .
$structure Sulu\Component\Content\Metadata\StructureMetadata

공개 메소드들

메소드 설명
__construct ( StructureMetadata $structure, DocumentInspector $inspector, LegacyPropertyFactory $propertyFactory, object $document = null )
__get ( $name ) Magic getter.
copyFrom ( Sulu\Component\Content\Compat\StructureInterface $structure )
getChanged ( )
getChanger ( )
getChildren ( )
getConcreteLanguages ( )
getCreated ( )
getCreator ( )
getDocument ( ) : object Returns document.
getEnabledShadowLanguages ( )
getHasChildren ( )
getHasTranslation ( )
getInternal ( )
getIsShadow ( )
getKey ( )
getLanguageCode ( )
getLocalizedTitle ( $languageCode )
getNodeName ( )
getNodeState ( )
getNodeType ( )
getParent ( )
getPath ( )
getProperties ( $flatten = false )
getPropertiesByTagName ( $tagName )
getProperty ( $name )
getPropertyByTagName ( $tagName, $highest = true )
getPropertyNames ( )
getPropertyValue ( $name )
getPropertyValueByTagName ( $tagName )
getPublished ( )
getPublishedState ( )
getResourceLocator ( )
getShadowBaseLanguage ( )
getStructure ( ) : StructureMetadata Returns structure metadata.
getTitle ( )
getType ( )
getUrl ( )
getUuid ( )
getWebspaceKey ( )
hasProperty ( $name )
hasTag ( $tag )
jsonSerialize ( )
setChanged ( DateTime $changed )
setChanger ( $userId )
setChildren ( $children )
setCreated ( DateTime $created )
setCreator ( $userId )
setDocument ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document )
setHasChildren ( $hasChildren )
setHasTranslation ( $hasTranslation )
setLanguageCode ( $locale )
setPath ( $path )
setPublished ( $published )
setType ( $type )
setUuid ( $uuid )
setWebspaceKey ( $webspace )
toArray ( $complete = true )

보호된 메소드들

메소드 설명
documentToStructure ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document )
readOnlyException ( $method )

비공개 메소드들

메소드 설명
createLegacyPropertyFromItem ( $item )
getWorkflowDocument ( $method )
normalizeData ( array $data = null )
normalizeValue ( $value )
notImplemented ( $method )

메소드 상세

__construct() 공개 메소드

public __construct ( StructureMetadata $structure, DocumentInspector $inspector, LegacyPropertyFactory $propertyFactory, object $document = null )
$structure Sulu\Component\Content\Metadata\StructureMetadata
$inspector Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector
$propertyFactory LegacyPropertyFactory
$document object

__get() 공개 메소드

Magic getter.
사용 중단: Do not use magic getters. Use ArrayAccess instead
public __get ( $name )

copyFrom() 공개 메소드

public copyFrom ( Sulu\Component\Content\Compat\StructureInterface $structure )
$structure Sulu\Component\Content\Compat\StructureInterface

documentToStructure() 보호된 메소드

protected documentToStructure ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document )
$document Sulu\Component\Content\Document\Behavior\StructureBehavior The document to convert

getChanged() 공개 메소드

public getChanged ( )

getChanger() 공개 메소드

public getChanger ( )

getChildren() 공개 메소드

public getChildren ( )

getConcreteLanguages() 공개 메소드

getCreated() 공개 메소드

public getCreated ( )

getCreator() 공개 메소드

public getCreator ( )

getDocument() 공개 메소드

Returns document.
public getDocument ( ) : object
리턴 object

getEnabledShadowLanguages() 공개 메소드

getHasChildren() 공개 메소드

public getHasChildren ( )

getHasTranslation() 공개 메소드

public getHasTranslation ( )

getInternal() 공개 메소드

public getInternal ( )

getIsShadow() 공개 메소드

public getIsShadow ( )

getKey() 공개 메소드

public getKey ( )

getLanguageCode() 공개 메소드

public getLanguageCode ( )

getLocalizedTitle() 공개 메소드

public getLocalizedTitle ( $languageCode )

getNodeName() 공개 메소드

public getNodeName ( )

getNodeState() 공개 메소드

public getNodeState ( )

getNodeType() 공개 메소드

public getNodeType ( )

getParent() 공개 메소드

public getParent ( )

getPath() 공개 메소드

public getPath ( )

getProperties() 공개 메소드

public getProperties ( $flatten = false )

getPropertiesByTagName() 공개 메소드

public getPropertiesByTagName ( $tagName )

getProperty() 공개 메소드

public getProperty ( $name )

getPropertyByTagName() 공개 메소드

public getPropertyByTagName ( $tagName, $highest = true )

getPropertyNames() 공개 메소드

public getPropertyNames ( )

getPropertyValue() 공개 메소드

public getPropertyValue ( $name )

getPropertyValueByTagName() 공개 메소드

public getPropertyValueByTagName ( $tagName )

getPublished() 공개 메소드

public getPublished ( )

getPublishedState() 공개 메소드

public getPublishedState ( )

getResourceLocator() 공개 메소드

public getResourceLocator ( )

getShadowBaseLanguage() 공개 메소드

getStructure() 공개 메소드

Returns structure metadata.
public getStructure ( ) : StructureMetadata
리턴 Sulu\Component\Content\Metadata\StructureMetadata

getTitle() 공개 메소드

public getTitle ( )

getType() 공개 메소드

public getType ( )

getUrl() 공개 메소드

public getUrl ( )

getUuid() 공개 메소드

public getUuid ( )

getWebspaceKey() 공개 메소드

public getWebspaceKey ( )

hasProperty() 공개 메소드

public hasProperty ( $name )

hasTag() 공개 메소드

public hasTag ( $tag )

jsonSerialize() 공개 메소드

public jsonSerialize ( )

readOnlyException() 보호된 메소드

protected readOnlyException ( $method )

setChanged() 공개 메소드

public setChanged ( DateTime $changed )
$changed DateTime

setChanger() 공개 메소드

public setChanger ( $userId )

setChildren() 공개 메소드

public setChildren ( $children )

setCreated() 공개 메소드

public setCreated ( DateTime $created )
$created DateTime

setCreator() 공개 메소드

public setCreator ( $userId )

setDocument() 공개 메소드

public setDocument ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document )
$document Sulu\Component\Content\Document\Behavior\StructureBehavior

setHasChildren() 공개 메소드

public setHasChildren ( $hasChildren )

setHasTranslation() 공개 메소드

public setHasTranslation ( $hasTranslation )

setLanguageCode() 공개 메소드

public setLanguageCode ( $locale )

setPath() 공개 메소드

public setPath ( $path )

setPublished() 공개 메소드

public setPublished ( $published )

setType() 공개 메소드

public setType ( $type )

setUuid() 공개 메소드

public setUuid ( $uuid )

setWebspaceKey() 공개 메소드

public setWebspaceKey ( $webspace )

toArray() 공개 메소드

public toArray ( $complete = true )

프로퍼티 상세

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

protected object $document
리턴 object

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

protected DocumentInspector,Sulu\Bundle\DocumentManagerBundle\Bridge $inspector
리턴 Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector

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

.
protected string $locale
리턴 string

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

protected StructureMetadata,Sulu\Component\Content\Metadata $structure
리턴 Sulu\Component\Content\Metadata\StructureMetadata