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

사용 중단:
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__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.

비공개 메소드들

메소드 설명
convertArrayToParameters ( $arrayParams )
createBlockProperty ( BlockMetadata $property, Sulu\Component\Content\Compat\StructureInterface $structure = null )
createSectionProperty ( SectionMetadata $property, Sulu\Component\Content\Compat\StructureInterface $structure = null )

메소드 상세

__construct() 공개 메소드

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

createProperty() 공개 메소드

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
리턴 Sulu\Component\Content\Compat\PropertyInterface $property

createTranslatedProperty() 공개 메소드

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
리턴 Sulu\Component\Content\Compat\PropertyInterface