PHP 클래스 Neos\Neos\Domain\Service\SiteImportService

파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$assetClassNames array An array that contains all fully qualified class names that implement AssetInterface
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$dateTimeClassNames array An array that contains all fully qualified class names that extend \DateTime including \DateTime itself
$eventEmittingService Neos\Neos\EventLog\Domain\Service\EventEmittingService
$imageVariantClassNames array An array that contains all fully qualified class names that extend ImageVariant including ImageVariant itself
$nodeImportService Neos\ContentRepository\Domain\Service\ImportExport\NodeImportService
$objectManager Neos\Flow\ObjectManagement\ObjectManagerInterface
$packageManager Neos\Flow\Package\PackageManagerInterface
$persistenceManager Neos\Flow\Persistence\PersistenceManagerInterface
$reflectionService Neos\Flow\Reflection\ReflectionService
$resourcesPath string
$siteRepository Neos\Neos\Domain\Repository\SiteRepository
$workspaceRepository Neos\ContentRepository\Domain\Repository\WorkspaceRepository

공개 메소드들

메소드 설명
importFromFile ( string $pathAndFilename ) : Site Imports one or multiple sites from the XML file at $pathAndFilename
importFromPackage ( string $packageKey ) : Site Checks for the presence of Sites.xml in the given package and imports it if found.
initializeObject ( ) : void

보호된 메소드들

메소드 설명
emitSiteImported ( Site $site ) : void Signal that is triggered when a site has been imported successfully
getSiteByNodeName ( string $siteNodeName ) : Site Updates or creates a site with the given $siteNodeName

메소드 상세

emitSiteImported() 보호된 메소드

Signal that is triggered when a site has been imported successfully
protected emitSiteImported ( Site $site ) : void
$site Neos\Neos\Domain\Model\Site The site that has been imported
리턴 void

getSiteByNodeName() 보호된 메소드

Updates or creates a site with the given $siteNodeName
protected getSiteByNodeName ( string $siteNodeName ) : Site
$siteNodeName string
리턴 Neos\Neos\Domain\Model\Site

importFromFile() 공개 메소드

Imports one or multiple sites from the XML file at $pathAndFilename
public importFromFile ( string $pathAndFilename ) : Site
$pathAndFilename string
리턴 Neos\Neos\Domain\Model\Site The imported site

importFromPackage() 공개 메소드

Checks for the presence of Sites.xml in the given package and imports it if found.
public importFromPackage ( string $packageKey ) : Site
$packageKey string
리턴 Neos\Neos\Domain\Model\Site the imported site

initializeObject() 공개 메소드

public initializeObject ( ) : void
리턴 void

프로퍼티 상세

$assetClassNames 보호되어 있는 프로퍼티

An array that contains all fully qualified class names that implement AssetInterface
protected array $assetClassNames
리턴 array

$contextFactory 보호되어 있는 프로퍼티

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
리턴 Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$dateTimeClassNames 보호되어 있는 프로퍼티

An array that contains all fully qualified class names that extend \DateTime including \DateTime itself
protected array $dateTimeClassNames
리턴 array

$eventEmittingService 보호되어 있는 프로퍼티

protected EventEmittingService,Neos\Neos\EventLog\Domain\Service $eventEmittingService
리턴 Neos\Neos\EventLog\Domain\Service\EventEmittingService

$imageVariantClassNames 보호되어 있는 프로퍼티

An array that contains all fully qualified class names that extend ImageVariant including ImageVariant itself
protected array $imageVariantClassNames
리턴 array

$nodeImportService 보호되어 있는 프로퍼티

protected NodeImportService,Neos\ContentRepository\Domain\Service\ImportExport $nodeImportService
리턴 Neos\ContentRepository\Domain\Service\ImportExport\NodeImportService

$objectManager 보호되어 있는 프로퍼티

protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager
리턴 Neos\Flow\ObjectManagement\ObjectManagerInterface

$packageManager 보호되어 있는 프로퍼티

protected PackageManagerInterface,Neos\Flow\Package $packageManager
리턴 Neos\Flow\Package\PackageManagerInterface

$persistenceManager 보호되어 있는 프로퍼티

protected PersistenceManagerInterface,Neos\Flow\Persistence $persistenceManager
리턴 Neos\Flow\Persistence\PersistenceManagerInterface

$reflectionService 보호되어 있는 프로퍼티

protected ReflectionService,Neos\Flow\Reflection $reflectionService
리턴 Neos\Flow\Reflection\ReflectionService

$resourcesPath 보호되어 있는 프로퍼티

protected string $resourcesPath
리턴 string

$siteRepository 보호되어 있는 프로퍼티

protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository
리턴 Neos\Neos\Domain\Repository\SiteRepository

$workspaceRepository 보호되어 있는 프로퍼티

protected WorkspaceRepository,Neos\ContentRepository\Domain\Repository $workspaceRepository
리턴 Neos\ContentRepository\Domain\Repository\WorkspaceRepository