PHP Interface Sulu\Component\Content\Compat\PropertyInterface

Inheritance: extends Sulu\Component\Util\ArrayableInterface
Show file Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
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.
getMinOccurs ( ) : integer return min occurs.
getMultilingual ( ) : boolean returns field is multilingual.
getName ( ) : string returns name of template.
getParams ( ) : PropertyParameter[] 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 ( ) : Sulu\Component\Content\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.
setStructure ( Sulu\Component\Content\Compat\StructureInterface $structure ) sets structure.
setValue ( $value ) sets the value from property.

Method Details

getColspan() public method

returns column span.
public getColspan ( ) : string
return string

getContentTypeName() public method

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

getInfoText() public method

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

getIsBlock() public method

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

getIsMultiple() public method

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

getMandatory() public method

returns field is mandatory.
public getMandatory ( ) : boolean
return boolean

getMaxOccurs() public method

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

getMinOccurs() public method

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

getMultilingual() public method

returns field is multilingual.
public getMultilingual ( ) : boolean
return boolean

getName() public method

returns name of template.
public getName ( ) : string
return string

getParams() public method

parameter of property.
public getParams ( ) : PropertyParameter[]
return PropertyParameter[]

getPlaceholder() public method

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

getStructure() public method

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

getTag() public method

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

getTags() public method

Returns tags defined in xml.
public getTags ( ) : Sulu\Component\Content\PropertyTag[]
return Sulu\Component\Content\PropertyTag[]

getTitle() public method

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

getValue() public method

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

isMandatory() public method

returns mandatory.
public isMandatory ( ) : boolean
return boolean

isMultilingual() public method

returns multilingual.
public isMultilingual ( ) : boolean
return boolean

setStructure() public method

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

setValue() public method

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