PHP 클래스 Neos\Neos\Service\PublishingService

상속: extends Neos\ContentRepository\Domain\Service\PublishingService
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

공개 메소드들

메소드 설명
publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace = null ) : void Publishes the given node to the specified target workspace. If no workspace is specified, the base workspace is assumed.

메소드 상세

publishNode() 공개 메소드

If the given node is a Document or has ContentCollection child nodes, these nodes are published as well.
public publishNode ( Neos\ContentRepository\Domain\Model\NodeInterface $node, Workspace $targetWorkspace = null ) : void
$node Neos\ContentRepository\Domain\Model\NodeInterface
$targetWorkspace Neos\ContentRepository\Domain\Model\Workspace If not set the base workspace is assumed to be the publishing target
리턴 void