PHP Класс Sulu\Bundle\LocationBundle\Content\Types\LocationContentType

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

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

Метод Описание
__construct ( Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface $nodeRepository, $template, MapManager $mapManager, $geolocatorName )
exportData ( $propertyValue )
getDefaultParams ( Sulu\Component\Content\Compat\PropertyInterface $property = null )
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 )

Приватные методы

Метод Описание
getCountries ( ) : array Returns array of countries with the country-code as array key.

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

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

public __construct ( Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface $nodeRepository, $template, MapManager $mapManager, $geolocatorName )
$nodeRepository Sulu\Bundle\ContentBundle\Repository\NodeRepositoryInterface
$mapManager Sulu\Bundle\LocationBundle\Map\MapManager

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

public exportData ( $propertyValue )

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

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

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