PHP 클래스 Sulu\Component\Content\Extension\AbstractExtension

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

보호된 프로퍼티들

프로퍼티 타입 설명
$additionalPrefix string additional prefix for properties.
$name string name of extension.
$properties string[]

공개 메소드들

메소드 설명
getContentData ( $container )
getFieldMapping ( )
getName ( )
setLanguageCode ( $languageCode, $languageNamespace, $namespace )

보호된 메소드들

메소드 설명
getPropertyName ( $propertyName ) : string returns translated property name.
loadProperty ( PHPCR\NodeInterface $node, string $name, string $default = '' ) : mixed load a single property value.
saveProperty ( PHPCR\NodeInterface $node, array $data, string $name, string $default = '' ) save a single property value.

메소드 상세

getContentData() 공개 메소드

public getContentData ( $container )

getFieldMapping() 공개 메소드

public getFieldMapping ( )

getName() 공개 메소드

public getName ( )

getPropertyName() 보호된 메소드

returns translated property name.
protected getPropertyName ( $propertyName ) : string
$propertyName
리턴 string

loadProperty() 보호된 메소드

load a single property value.
protected loadProperty ( PHPCR\NodeInterface $node, string $name, string $default = '' ) : mixed
$node PHPCR\NodeInterface
$name string name of property in node
$default string value if no property exists with given name
리턴 mixed

saveProperty() 보호된 메소드

save a single property value.
protected saveProperty ( PHPCR\NodeInterface $node, array $data, string $name, string $default = '' )
$node PHPCR\NodeInterface
$data array data array
$name string name of property in node an data array
$default string value if no data exists with given name

setLanguageCode() 공개 메소드

public setLanguageCode ( $languageCode, $languageNamespace, $namespace )

프로퍼티 상세

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

additional prefix for properties.
protected string $additionalPrefix
리턴 string

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

name of extension.
protected string $name
리턴 string

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

protected string[] $properties
리턴 string[]