PHP Interface Sulu\Component\Content\Import\ContentImportManagerInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
hasImport ( $contentTypeName, $format ) : boolean Check can import type by given typename.
import ( $contentTypeName, PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, integer $userId, string $webspaceKey, string $languageCode, string $segmentKey = null ) Import property of a document.

Method Details

hasImport() public méthode

Check can import type by given typename.
public hasImport ( $contentTypeName, $format ) : boolean
$contentTypeName
$format
Résultat boolean

import() public méthode

Import property of a document.
public import ( $contentTypeName, PHPCR\NodeInterface $node, Sulu\Component\Content\Compat\PropertyInterface $property, $value, integer $userId, string $webspaceKey, string $languageCode, string $segmentKey = null )
$contentTypeName
$node PHPCR\NodeInterface
$property Sulu\Component\Content\Compat\PropertyInterface
$userId integer
$webspaceKey string
$languageCode string
$segmentKey string