PHP 클래스 Sulu\Component\Content\Compat\Property

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

보호된 프로퍼티들

프로퍼티 타입 설명
$propertyValue Sulu\Component\Content\Document\Structure\PropertyValue Constructor.

공개 메소드들

메소드 설명
__clone ( )
__construct ( $name, $metaData, $contentTypeName, $mandatory = false, $multilingual = true, $maxOccurs = 1, $minOccurs = 1, $params = [], $tags = [], $col = null )
__get ( $property ) magic getter for twig templates.
addTag ( PropertyTag $tag ) : PropertyTag add a property tag.
getColspan ( ) : string returns column span.
getContentTypeName ( ) : string returns name of content type.
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.
getMandatory ( ) : boolean returns field is mandatory.
getMaxOccurs ( ) : integer return max occurs.
getMetadata ( ) : Metadata
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.
getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface returns structure.
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.
hasTag ( $tagName ) : boolean return true if a tag with the given name exists.
isMandatory ( ) : boolean returns mandatory.
isMultilingual ( ) : boolean returns multilingual.
jsonSerialize ( )
setPropertyValue ( PropertyValue $propertyValue )
setStructure ( Sulu\Component\Content\Compat\StructureInterface $structure )
setValue ( mixed $value ) sets the value from property.
setValueByReference ( &$value )
toArray ( $depth = null )

메소드 상세

__clone() 공개 메소드

public __clone ( )

__construct() 공개 메소드

public __construct ( $name, $metaData, $contentTypeName, $mandatory = false, $multilingual = true, $maxOccurs = 1, $minOccurs = 1, $params = [], $tags = [], $col = null )

__get() 공개 메소드

magic getter for twig templates.
public __get ( $property )
$property

addTag() 공개 메소드

add a property tag.
public addTag ( PropertyTag $tag ) : PropertyTag
$tag PropertyTag
리턴 PropertyTag

getColspan() 공개 메소드

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

getContentTypeName() 공개 메소드

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

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

getMandatory() 공개 메소드

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

getMaxOccurs() 공개 메소드

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

getMetadata() 공개 메소드

public getMetadata ( ) : Metadata
리턴 Metadata

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

getStructure() 공개 메소드

returns structure.
public getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface
리턴 Sulu\Component\Content\Compat\StructureInterface

getTag() 공개 메소드

returns tag with given name.
public getTag ( string $tagName ) : PropertyTag
$tagName string
리턴 PropertyTag

getTags() 공개 메소드

returns tags defined in xml.
public getTags ( ) : PropertyTag[]
리턴 PropertyTag[]

getTitle() 공개 메소드

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

getValue() 공개 메소드

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

hasTag() 공개 메소드

return true if a tag with the given name exists.
public hasTag ( $tagName ) : boolean
리턴 boolean

isMandatory() 공개 메소드

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

isMultilingual() 공개 메소드

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

jsonSerialize() 공개 메소드

public jsonSerialize ( )

setPropertyValue() 공개 메소드

public setPropertyValue ( PropertyValue $propertyValue )
$propertyValue Sulu\Component\Content\Document\Structure\PropertyValue

setStructure() 공개 메소드

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

setValue() 공개 메소드

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

setValueByReference() 공개 메소드

public setValueByReference ( &$value )

toArray() 공개 메소드

public toArray ( $depth = null )

프로퍼티 상세

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

Constructor.
protected PropertyValue,Sulu\Component\Content\Document\Structure $propertyValue
리턴 Sulu\Component\Content\Document\Structure\PropertyValue