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

Deprecation:
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Sulu\Component\DocumentManager\NamespaceRegistry $namespaceRegistry )
createProperty ( ItemMetadata $property, Sulu\Component\Content\Compat\StructureInterface $structure = null ) : Sulu\Component\Content\Compat\PropertyInterface Create a new property.
createTranslatedProperty ( object $property, string $locale, Sulu\Component\Content\Compat\StructureInterface $structure = null ) : Sulu\Component\Content\Compat\PropertyInterface Create a new "translated" property.

Private Methods

Méthode Description
convertArrayToParameters ( $arrayParams )
createBlockProperty ( BlockMetadata $property, Sulu\Component\Content\Compat\StructureInterface $structure = null )
createSectionProperty ( SectionMetadata $property, Sulu\Component\Content\Compat\StructureInterface $structure = null )

Method Details

__construct() public méthode

public __construct ( Sulu\Component\DocumentManager\NamespaceRegistry $namespaceRegistry )
$namespaceRegistry Sulu\Component\DocumentManager\NamespaceRegistry

createProperty() public méthode

Create a new property.
public createProperty ( ItemMetadata $property, Sulu\Component\Content\Compat\StructureInterface $structure = null ) : Sulu\Component\Content\Compat\PropertyInterface
$property Sulu\Component\Content\Metadata\ItemMetadata
$structure Sulu\Component\Content\Compat\StructureInterface
Résultat Sulu\Component\Content\Compat\PropertyInterface $property

createTranslatedProperty() public méthode

Create a new "translated" property.
public createTranslatedProperty ( object $property, string $locale, Sulu\Component\Content\Compat\StructureInterface $structure = null ) : Sulu\Component\Content\Compat\PropertyInterface
$property object
$locale string
$structure Sulu\Component\Content\Compat\StructureInterface
Résultat Sulu\Component\Content\Compat\PropertyInterface