PHP Class Sulu\Component\Content\Compat\Section\SectionProperty

Inheritance: extends Sulu\Component\Content\Compat\Property, implements Sulu\Component\Content\Compat\Section\SectionPropertyInterface
Mostra file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( string $name, array $metadata, string $col )
addChild ( Sulu\Component\Content\Compat\PropertyInterface $property )
deserializeToJson ( JMS\Serializer\JsonDeserializationVisitor $visitor, $data, JMS\Serializer\Context $context )
getChildProperties ( )
serializeToJson ( JMS\Serializer\JsonSerializationVisitor $visitor, $data, JMS\Serializer\Context $context )

Method Details

__construct() public method

public __construct ( string $name, array $metadata, string $col )
$name string
$metadata array
$col string

addChild() public method

public addChild ( Sulu\Component\Content\Compat\PropertyInterface $property )
$property Sulu\Component\Content\Compat\PropertyInterface

deserializeToJson() public method

public deserializeToJson ( JMS\Serializer\JsonDeserializationVisitor $visitor, $data, JMS\Serializer\Context $context )
$visitor JMS\Serializer\JsonDeserializationVisitor
$context JMS\Serializer\Context

getChildProperties() public method

public getChildProperties ( )

serializeToJson() public method

public serializeToJson ( JMS\Serializer\JsonSerializationVisitor $visitor, $data, JMS\Serializer\Context $context )
$visitor JMS\Serializer\JsonSerializationVisitor
$context JMS\Serializer\Context