PHP Class Sulu\Component\Content\Compat\Structure\StructureBridge

Inheritance: implements Sulu\Component\Content\Compat\StructureInterface
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Protected Properties

Свойство Type Description
$document object
$inspector Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector
$locale string .
$structure Sulu\Component\Content\Metadata\StructureMetadata

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
documentToStructure ( Sulu\Component\Content\Document\Behavior\StructureBehavior $document )
readOnlyException ( $method )

Private Methods

Méthode Description
createLegacyPropertyFromItem ( $item )
getWorkflowDocument ( $method )
normalizeData ( array $data = null )
normalizeValue ( $value )
notImplemented ( $method )

Method Details

__construct() public méthode

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() public méthode

Magic getter.
Deprecation: Do not use magic getters. Use ArrayAccess instead
public __get ( $name )

copyFrom() public méthode

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

documentToStructure() protected méthode

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

getChanged() public méthode

public getChanged ( )

getChanger() public méthode

public getChanger ( )

getChildren() public méthode

public getChildren ( )

getConcreteLanguages() public méthode

getCreated() public méthode

public getCreated ( )

getCreator() public méthode

public getCreator ( )

getDocument() public méthode

Returns document.
public getDocument ( ) : object
Résultat object

getEnabledShadowLanguages() public méthode

getHasChildren() public méthode

public getHasChildren ( )

getHasTranslation() public méthode

public getHasTranslation ( )

getInternal() public méthode

public getInternal ( )

getIsShadow() public méthode

public getIsShadow ( )

getKey() public méthode

public getKey ( )

getLanguageCode() public méthode

public getLanguageCode ( )

getLocalizedTitle() public méthode

public getLocalizedTitle ( $languageCode )

getNodeName() public méthode

public getNodeName ( )

getNodeState() public méthode

public getNodeState ( )

getNodeType() public méthode

public getNodeType ( )

getParent() public méthode

public getParent ( )

getPath() public méthode

public getPath ( )

getProperties() public méthode

public getProperties ( $flatten = false )

getPropertiesByTagName() public méthode

public getPropertiesByTagName ( $tagName )

getProperty() public méthode

public getProperty ( $name )

getPropertyByTagName() public méthode

public getPropertyByTagName ( $tagName, $highest = true )

getPropertyNames() public méthode

public getPropertyNames ( )

getPropertyValue() public méthode

public getPropertyValue ( $name )

getPropertyValueByTagName() public méthode

public getPropertyValueByTagName ( $tagName )

getPublished() public méthode

public getPublished ( )

getPublishedState() public méthode

public getPublishedState ( )

getResourceLocator() public méthode

public getResourceLocator ( )

getShadowBaseLanguage() public méthode

getStructure() public méthode

Returns structure metadata.
public getStructure ( ) : StructureMetadata
Résultat Sulu\Component\Content\Metadata\StructureMetadata

getTitle() public méthode

public getTitle ( )

getType() public méthode

public getType ( )

getUrl() public méthode

public getUrl ( )

getUuid() public méthode

public getUuid ( )

getWebspaceKey() public méthode

public getWebspaceKey ( )

hasProperty() public méthode

public hasProperty ( $name )

hasTag() public méthode

public hasTag ( $tag )

jsonSerialize() public méthode

public jsonSerialize ( )

readOnlyException() protected méthode

protected readOnlyException ( $method )

setChanged() public méthode

public setChanged ( DateTime $changed )
$changed DateTime

setChanger() public méthode

public setChanger ( $userId )

setChildren() public méthode

public setChildren ( $children )

setCreated() public méthode

public setCreated ( DateTime $created )
$created DateTime

setCreator() public méthode

public setCreator ( $userId )

setDocument() public méthode

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

setHasChildren() public méthode

public setHasChildren ( $hasChildren )

setHasTranslation() public méthode

public setHasTranslation ( $hasTranslation )

setLanguageCode() public méthode

public setLanguageCode ( $locale )

setPath() public méthode

public setPath ( $path )

setPublished() public méthode

public setPublished ( $published )

setType() public méthode

public setType ( $type )

setUuid() public méthode

public setUuid ( $uuid )

setWebspaceKey() public méthode

public setWebspaceKey ( $webspace )

toArray() public méthode

public toArray ( $complete = true )

Property Details

$document protected_oe property

protected object $document
Résultat object

$inspector protected_oe property

protected DocumentInspector,Sulu\Bundle\DocumentManagerBundle\Bridge $inspector
Résultat Sulu\Bundle\DocumentManagerBundle\Bridge\DocumentInspector

$locale protected_oe property

.
protected string $locale
Résultat string

$structure protected_oe property

protected StructureMetadata,Sulu\Component\Content\Metadata $structure
Résultat Sulu\Component\Content\Metadata\StructureMetadata