PHP Class Sulu\Component\Content\Metadata\PropertyMetadata

Inheritance: extends ItemMetadata
ファイルを表示 Open project: sulu/sulu Class Usage Examples

Public Properties

Property 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").

Public Methods

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

Method Details

getColSpan() public method

public getColSpan ( )

getContentTypeName() public method

Deprecation: - use getType
public getContentTypeName ( )

getIsBlock() public method

Deprecation:
public getIsBlock ( )

getMaxOccurs() public method

public getMaxOccurs ( )

getMinOccurs() public method

public getMinOccurs ( )

getPlaceholder() public method

public getPlaceholder ( $locale )

getStructure() public method

public getStructure ( )

getType() public method

public getType ( )

isLocalized() public method

public isLocalized ( )

isMultiple() public method

public isMultiple ( )

isRequired() public method

public isRequired ( )

Property Details

$colSpan public_oe property

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

$cssClass public_oe property

The CSS class the property should use in the admin interface.
public string $cssClass
return string

$localized public_oe property

If the property should be available in different localizations.
public bool $localized
return boolean

$maxOccurs public_oe property

public mixed $maxOccurs
return mixed

$minOccurs public_oe property

public int $minOccurs
return integer

$parameters public_oe property

public array $parameters
return array

$placeholder public_oe property

Placeholder for property.
public $placeholder

$required public_oe property

If the property is required.
public bool $required
return boolean

$structure public_oe property

public Structure $structure
return Structure

$tags public_oe property

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

$type public_oe property

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