PHP Class Neos\Neos\Controller\Module\Administration\SitesController

Inheritance: extends Neos\Neos\Controller\Module\AbstractModuleController
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$assetCollectionRepository Neos\Media\Domain\Repository\AssetCollectionRepository
$domainRepository Neos\Neos\Domain\Repository\DomainRepository
$nodeContextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$nodeService Neos\ContentRepository\Domain\Service\NodeService
$nodeTypeManager Neos\ContentRepository\Domain\Service\NodeTypeManager
$packageManager Neos\Flow\Package\PackageManagerInterface
$session Neos\Flow\Session\SessionInterface
$siteImportService Neos\Neos\Domain\Service\SiteImportService
$siteRepository Neos\Neos\Domain\Repository\SiteRepository
$siteService Neos\Neos\Domain\Service\SiteService
$systemLogger Neos\Flow\Log\SystemLoggerInterface
$workspaceRepository Neos\ContentRepository\Domain\Repository\WorkspaceRepository

Méthodes publiques

Méthode Description
activateDomainAction ( Domain $domain ) : void Activates a domain
activateSiteAction ( Site $site ) : void Activates a site
createDomainAction ( Domain $domain ) : void Create a domain
createSiteNodeAction ( string $packageKey, string $siteName, string $nodeType ) : void Create a new empty site.
createSitePackageAction ( string $packageKey, string $siteName ) : void Create a new site-package and directly import it.
deactivateDomainAction ( Domain $domain ) : void Deactivates a domain
deactivateSiteAction ( Site $site ) : void Deactivates a site
deleteDomainAction ( Domain $domain ) : void Deletes a domain attached to a site
deleteSiteAction ( Site $site ) : void Delete a site.
editAction ( Site $site ) : void A edit view for a site and its settings.
editDomainAction ( Domain $domain ) : void Edit a domain
importSiteAction ( string $packageKey ) : void Import a site from site package.
indexAction ( ) : void
newDomainAction ( Domain $domain = null, Site $site = null ) : void The create a new domain action.
newSiteAction ( Site $site = null ) : void Create a new site form.
updateDomainAction ( Domain $domain ) : void Update a domain
updateSiteAction ( Site $site, string $newSiteNodeName ) : void Update a site

Méthodes protégées

Méthode Description
deactivateAllOtherSitePackages ( string $activePackageKey ) : array If site packages already exist and are active, we will deactivate them in order to prevent interactions with the newly created or imported package (like Content Dimensions being used).
unsetLastVisitedNodeAndRedirect ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = null, integer $delay, integer $statusCode = 303, string $format = null ) : void

Method Details

activateDomainAction() public méthode

Activates a domain
public activateDomainAction ( Domain $domain ) : void
$domain Neos\Neos\Domain\Model\Domain Domain to activate
Résultat void

activateSiteAction() public méthode

Activates a site
public activateSiteAction ( Site $site ) : void
$site Neos\Neos\Domain\Model\Site Site to activate
Résultat void

createDomainAction() public méthode

Create a domain
public createDomainAction ( Domain $domain ) : void
$domain Neos\Neos\Domain\Model\Domain Domain to create
Résultat void

createSiteNodeAction() public méthode

Create a new empty site.
public createSiteNodeAction ( string $packageKey, string $siteName, string $nodeType ) : void
$packageKey string Package Name to create
$siteName string Site Name to create
$nodeType string NodeType name for the root node to create
Résultat void

createSitePackageAction() public méthode

Create a new site-package and directly import it.
public createSitePackageAction ( string $packageKey, string $siteName ) : void
$packageKey string Package Name to create
$siteName string Site Name to create
Résultat void

deactivateAllOtherSitePackages() protected méthode

If site packages already exist and are active, we will deactivate them in order to prevent interactions with the newly created or imported package (like Content Dimensions being used).
protected deactivateAllOtherSitePackages ( string $activePackageKey ) : array
$activePackageKey string Package key of one package which should stay active
Résultat array deactivated site packages

deactivateDomainAction() public méthode

Deactivates a domain
public deactivateDomainAction ( Domain $domain ) : void
$domain Neos\Neos\Domain\Model\Domain Domain to deactivate
Résultat void

deactivateSiteAction() public méthode

Deactivates a site
public deactivateSiteAction ( Site $site ) : void
$site Neos\Neos\Domain\Model\Site Site to deactivate
Résultat void

deleteDomainAction() public méthode

Deletes a domain attached to a site
public deleteDomainAction ( Domain $domain ) : void
$domain Neos\Neos\Domain\Model\Domain A domain to delete
Résultat void

deleteSiteAction() public méthode

Delete a site.
public deleteSiteAction ( Site $site ) : void
$site Neos\Neos\Domain\Model\Site Site to delete
Résultat void

editAction() public méthode

A edit view for a site and its settings.
public editAction ( Site $site ) : void
$site Neos\Neos\Domain\Model\Site Site to view
Résultat void

editDomainAction() public méthode

Edit a domain
public editDomainAction ( Domain $domain ) : void
$domain Neos\Neos\Domain\Model\Domain Domain to edit
Résultat void

importSiteAction() public méthode

Import a site from site package.
public importSiteAction ( string $packageKey ) : void
$packageKey string Package from where the import will come
Résultat void

indexAction() public méthode

public indexAction ( ) : void
Résultat void

newDomainAction() public méthode

The create a new domain action.
public newDomainAction ( Domain $domain = null, Site $site = null ) : void
$domain Neos\Neos\Domain\Model\Domain
$site Neos\Neos\Domain\Model\Site
Résultat void

newSiteAction() public méthode

Create a new site form.
public newSiteAction ( Site $site = null ) : void
$site Neos\Neos\Domain\Model\Site Site to create
Résultat void

unsetLastVisitedNodeAndRedirect() protected méthode

protected unsetLastVisitedNodeAndRedirect ( string $actionName, string $controllerName = null, string $packageKey = null, array $arguments = null, integer $delay, integer $statusCode = 303, string $format = null ) : void
$actionName string Name of the action to forward to
$controllerName string Unqualified object name of the controller to forward to. If not specified, the current controller is used.
$packageKey string Key of the package containing the controller to forward to. If not specified, the current package is assumed.
$arguments array Array of arguments for the target action
$delay integer (optional) The delay in seconds. Default is no delay.
$statusCode integer (optional) The HTTP status code for the redirect. Default is "303 See Other"
$format string The format to use for the redirect URI
Résultat void

updateDomainAction() public méthode

Update a domain
public updateDomainAction ( Domain $domain ) : void
$domain Neos\Neos\Domain\Model\Domain Domain to update
Résultat void

updateSiteAction() public méthode

Update a site
public updateSiteAction ( Site $site, string $newSiteNodeName ) : void
$site Neos\Neos\Domain\Model\Site A site to update
$newSiteNodeName string A new site node name
Résultat void

Property Details

$assetCollectionRepository protected_oe property

protected AssetCollectionRepository,Neos\Media\Domain\Repository $assetCollectionRepository
Résultat Neos\Media\Domain\Repository\AssetCollectionRepository

$domainRepository protected_oe property

protected DomainRepository,Neos\Neos\Domain\Repository $domainRepository
Résultat Neos\Neos\Domain\Repository\DomainRepository

$nodeContextFactory protected_oe property

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $nodeContextFactory
Résultat Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$nodeDataRepository protected_oe property

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
Résultat Neos\ContentRepository\Domain\Repository\NodeDataRepository

$nodeService protected_oe property

protected NodeService,Neos\ContentRepository\Domain\Service $nodeService
Résultat Neos\ContentRepository\Domain\Service\NodeService

$nodeTypeManager protected_oe property

protected NodeTypeManager,Neos\ContentRepository\Domain\Service $nodeTypeManager
Résultat Neos\ContentRepository\Domain\Service\NodeTypeManager

$packageManager protected_oe property

protected PackageManagerInterface,Neos\Flow\Package $packageManager
Résultat Neos\Flow\Package\PackageManagerInterface

$session protected_oe property

protected SessionInterface,Neos\Flow\Session $session
Résultat Neos\Flow\Session\SessionInterface

$siteImportService protected_oe property

protected SiteImportService,Neos\Neos\Domain\Service $siteImportService
Résultat Neos\Neos\Domain\Service\SiteImportService

$siteRepository protected_oe property

protected SiteRepository,Neos\Neos\Domain\Repository $siteRepository
Résultat Neos\Neos\Domain\Repository\SiteRepository

$siteService protected_oe property

protected SiteService,Neos\Neos\Domain\Service $siteService
Résultat Neos\Neos\Domain\Service\SiteService

$systemLogger protected_oe property

protected SystemLoggerInterface,Neos\Flow\Log $systemLogger
Résultat Neos\Flow\Log\SystemLoggerInterface

$workspaceRepository protected_oe property

protected WorkspaceRepository,Neos\ContentRepository\Domain\Repository $workspaceRepository
Résultat Neos\ContentRepository\Domain\Repository\WorkspaceRepository