PHP Класс Sulu\Bundle\ContactBundle\Content\Types\ContactSelectionContentType

Наследование: extends Sulu\Component\Content\ComplexContentType, implements Sulu\Component\Content\ContentTypeExportInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $template, Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface $contactManager, Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface $accountManager, JMS\Serializer\SerializerInterface $serializer, Sulu\Bundle\ContactBundle\Util\IdConverterInterface $converter, Sulu\Bundle\ContactBundle\Util\IndexComparatorInterface $comparator )
exportData ( $propertyValue )
getContentData ( Sulu\Component\Content\Compat\PropertyInterface $property )
getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
getDefaultValue ( )
getTemplate ( )
getType ( )
importData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, $userId, $webspaceKey, $languageCode, $segmentKey = null )
read ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
remove ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
write ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey )

Описание методов

__construct() публичный Метод

public __construct ( $template, Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface $contactManager, Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface $accountManager, JMS\Serializer\SerializerInterface $serializer, Sulu\Bundle\ContactBundle\Util\IdConverterInterface $converter, Sulu\Bundle\ContactBundle\Util\IndexComparatorInterface $comparator )
$contactManager Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface
$accountManager Sulu\Bundle\ContactBundle\Contact\ContactManagerInterface
$serializer JMS\Serializer\SerializerInterface
$converter Sulu\Bundle\ContactBundle\Util\IdConverterInterface
$comparator Sulu\Bundle\ContactBundle\Util\IndexComparatorInterface

exportData() публичный Метод

public exportData ( $propertyValue )

getContentData() публичный Метод

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

getDefaultParams() публичный Метод

public getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
$property Sulu\Component\Content\Compat\PropertyInterface

getDefaultValue() публичный Метод

public getDefaultValue ( )

getTemplate() публичный Метод

public getTemplate ( )

getType() публичный Метод

public getType ( )

importData() публичный Метод

public importData ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, $userId, $webspaceKey, $languageCode, $segmentKey = null )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface

read() публичный Метод

public read ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface

remove() публичный Метод

public remove ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $webspaceKey, $languageCode, $segmentKey )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface

write() публичный Метод

public write ( PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $userId, $webspaceKey, $languageCode, $segmentKey )
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface