PHP 클래스 Sulu\Component\Content\Mapper\Translation\TranslatedProperty

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

공개 메소드들

메소드 설명
__construct ( Sulu\Component\Content\Compat\PropertyInterface $property, $localization, $languageNamespace, $additionalPrefix = null ) Constructor.
getColspan ( ) : string returns column span.
getContentTypeName ( ) : string returns name of content type.
getDocument ( )
getInfoText ( string $languageCode ) : string returns infoText of property.
getIsBlock ( ) : boolean returns TRUE if property is a block.
getIsMultiple ( ) : boolean returns TRUE if property is multiple.
getLocalization ( ) : string returns the localization of this property.
getMandatory ( ) : boolean returns field is mandatory.
getMaxOccurs ( ) : integer return max occurs.
getMinOccurs ( ) : integer return min occurs.
getMultilingual ( ) : boolean returns field is multilingual.
getName ( ) : string returns name of template.
getParams ( ) : array parameter of property.
getPlaceholder ( string $languageCode ) : string returns placeholder of property.
getProperty ( ) : Sulu\Component\Content\Document\Property\PropertyInterface
getStructure ( )
getTag ( string $tagName ) : PropertyTag returns tag with given name.
getTags ( ) : PropertyTag[] returns tags defined in xml.
getTitle ( string $languageCode ) : string returns title of property.
getValue ( ) : mixed gets the value from property.
isMandatory ( ) : boolean returns mandatory.
isMultilingual ( ) : boolean returns multilingual.
setLocalization ( string $localization ) sets the localization of this property.
setStructure ( $structure )
setValue ( $value ) sets the value from property.
toArray ( $depth = null )

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( Sulu\Component\Content\Compat\PropertyInterface $property, $localization, $languageNamespace, $additionalPrefix = null )
$property Sulu\Component\Content\Compat\PropertyInterface

getColspan() 공개 메소드

returns column span.
public getColspan ( ) : string
리턴 string

getContentTypeName() 공개 메소드

returns name of content type.
public getContentTypeName ( ) : string
리턴 string

getDocument() 공개 메소드

public getDocument ( )

getInfoText() 공개 메소드

returns infoText of property.
public getInfoText ( string $languageCode ) : string
$languageCode string
리턴 string

getIsBlock() 공개 메소드

returns TRUE if property is a block.
public getIsBlock ( ) : boolean
리턴 boolean

getIsMultiple() 공개 메소드

returns TRUE if property is multiple.
public getIsMultiple ( ) : boolean
리턴 boolean

getLocalization() 공개 메소드

returns the localization of this property.
public getLocalization ( ) : string
리턴 string

getMandatory() 공개 메소드

returns field is mandatory.
public getMandatory ( ) : boolean
리턴 boolean

getMaxOccurs() 공개 메소드

return max occurs.
public getMaxOccurs ( ) : integer
리턴 integer

getMinOccurs() 공개 메소드

return min occurs.
public getMinOccurs ( ) : integer
리턴 integer

getMultilingual() 공개 메소드

returns field is multilingual.
public getMultilingual ( ) : boolean
리턴 boolean

getName() 공개 메소드

returns name of template.
public getName ( ) : string
리턴 string

getParams() 공개 메소드

parameter of property.
public getParams ( ) : array
리턴 array

getPlaceholder() 공개 메소드

returns placeholder of property.
public getPlaceholder ( string $languageCode ) : string
$languageCode string
리턴 string

getProperty() 공개 메소드

public getProperty ( ) : Sulu\Component\Content\Document\Property\PropertyInterface
리턴 Sulu\Component\Content\Document\Property\PropertyInterface

getStructure() 공개 메소드

public getStructure ( )

getTag() 공개 메소드

returns tag with given name.
public getTag ( string $tagName ) : PropertyTag
$tagName string
리턴 Sulu\Component\Content\Compat\PropertyTag

getTags() 공개 메소드

returns tags defined in xml.
public getTags ( ) : PropertyTag[]
리턴 Sulu\Component\Content\Compat\PropertyTag[]

getTitle() 공개 메소드

returns title of property.
public getTitle ( string $languageCode ) : string
$languageCode string
리턴 string

getValue() 공개 메소드

gets the value from property.
public getValue ( ) : mixed
리턴 mixed

isMandatory() 공개 메소드

returns mandatory.
public isMandatory ( ) : boolean
리턴 boolean

isMultilingual() 공개 메소드

returns multilingual.
public isMultilingual ( ) : boolean
리턴 boolean

setLocalization() 공개 메소드

sets the localization of this property.
public setLocalization ( string $localization )
$localization string

setStructure() 공개 메소드

public setStructure ( $structure )

setValue() 공개 메소드

sets the value from property.
public setValue ( $value )
$value mixed

toArray() 공개 메소드

public toArray ( $depth = null )