PHP Interface Sulu\Component\Content\Import\ContentImportManagerInterface

显示文件 Open project: sulu/sulu Interface Usage Examples

Public Methods

Method 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 method

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

import() public method

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