PHP Class Sulu\Component\Content\Metadata\PropertyMetadata

Inheritance: extends ItemMetadata
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Свойство Type Description
$colSpan integer The number of grid columns the property should use in the admin interface.
$cssClass string The CSS class the property should use in the admin interface.
$localized boolean If the property should be available in different localizations.
$maxOccurs mixed
$minOccurs integer
$parameters array
$placeholder Placeholder for property.
$required boolean If the property is required.
$structure Structure
$tags array Tags, e.g. [['name' => 'sulu_search.field', 'type' => 'string']].
$type string Type of this property (e.g. "text_line", "smart_content").

Méthodes publiques

Méthode Description
getColSpan ( )
getContentTypeName ( )
getIsBlock ( )
getMaxOccurs ( )
getMinOccurs ( )
getPlaceholder ( $locale )
getStructure ( )
getType ( )
isLocalized ( )
isMultiple ( )
isRequired ( )

Method Details

getColSpan() public méthode

public getColSpan ( )

getContentTypeName() public méthode

Deprecation: - use getType
public getContentTypeName ( )

getIsBlock() public méthode

Deprecation:
public getIsBlock ( )

getMaxOccurs() public méthode

public getMaxOccurs ( )

getMinOccurs() public méthode

public getMinOccurs ( )

getPlaceholder() public méthode

public getPlaceholder ( $locale )

getStructure() public méthode

public getStructure ( )

getType() public méthode

public getType ( )

isLocalized() public méthode

public isLocalized ( )

isMultiple() public méthode

public isMultiple ( )

isRequired() public méthode

public isRequired ( )

Property Details

$colSpan public_oe property

The number of grid columns the property should use in the admin interface.
public int $colSpan
Résultat integer

$cssClass public_oe property

The CSS class the property should use in the admin interface.
public string $cssClass
Résultat string

$localized public_oe property

If the property should be available in different localizations.
public bool $localized
Résultat boolean

$maxOccurs public_oe property

public mixed $maxOccurs
Résultat mixed

$minOccurs public_oe property

public int $minOccurs
Résultat integer

$parameters public_oe property

public array $parameters
Résultat array

$placeholder public_oe property

Placeholder for property.
public $placeholder

$required public_oe property

If the property is required.
public bool $required
Résultat boolean

$structure public_oe property

public Structure $structure
Résultat Structure

$tags public_oe property

Tags, e.g. [['name' => 'sulu_search.field', 'type' => 'string']].
public array $tags
Résultat array

$type public_oe property

Type of this property (e.g. "text_line", "smart_content").
public string $type
Résultat string