PHP Interface Sulu\Component\Content\Compat\PropertyInterface

Inheritance: extends Sulu\Component\Util\ArrayableInterface
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

returns column span.
public getColspan ( ) : string
Résultat string

getContentTypeName() public méthode

returns name of content type.
public getContentTypeName ( ) : string
Résultat string

getInfoText() public méthode

returns infoText of property.
public getInfoText ( string $languageCode ) : string
$languageCode string
Résultat string

getIsBlock() public méthode

returns TRUE if property is a block.
public getIsBlock ( ) : boolean
Résultat boolean

getIsMultiple() public méthode

returns TRUE if property is multiple.
public getIsMultiple ( ) : boolean
Résultat boolean

getMandatory() public méthode

returns field is mandatory.
public getMandatory ( ) : boolean
Résultat boolean

getMaxOccurs() public méthode

return max occurs.
public getMaxOccurs ( ) : integer
Résultat integer

getMinOccurs() public méthode

return min occurs.
public getMinOccurs ( ) : integer
Résultat integer

getMultilingual() public méthode

returns field is multilingual.
public getMultilingual ( ) : boolean
Résultat boolean

getName() public méthode

returns name of template.
public getName ( ) : string
Résultat string

getParams() public méthode

parameter of property.
public getParams ( ) : PropertyParameter[]
Résultat PropertyParameter[]

getPlaceholder() public méthode

returns placeholder of property.
public getPlaceholder ( string $languageCode ) : string
$languageCode string
Résultat string

getStructure() public méthode

returns structure.
public getStructure ( ) : Sulu\Component\Content\Compat\StructureInterface
Résultat Sulu\Component\Content\Compat\StructureInterface

getTag() public méthode

returns tag with given name.
public getTag ( string $tagName ) : PropertyTag
$tagName string
Résultat PropertyTag

getTags() public méthode

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

getTitle() public méthode

returns title of property.
public getTitle ( string $languageCode ) : string
$languageCode string
Résultat string

getValue() public méthode

gets the value from property.
public getValue ( ) : mixed
Résultat mixed

isMandatory() public méthode

returns mandatory.
public isMandatory ( ) : boolean
Résultat boolean

isMultilingual() public méthode

returns multilingual.
public isMultilingual ( ) : boolean
Résultat boolean

setStructure() public méthode

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

setValue() public méthode

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