PHP 클래스 Neos\Neos\TypoScript\Helper\CachingHelper

상속: implements Neos\Eel\ProtectedContextAwareInterface
파일 보기 프로젝트 열기: neos/neos-development-collection

공개 메소드들

메소드 설명
allowsCallOfMethod ( string $methodName ) : boolean All methods are considered safe
descendantOfTag ( mixed $nodes ) : array Generate a @cache entry tag for descendants of a node, an array of nodes or a FlowQuery result A cache entry with this tag will be flushed whenever a node (for any variant) that is a descendant (child on any level) of one of the given nodes is updated.
nodeTag ( mixed $nodes ) : array Generate a @cache entry tag for a single node, array of nodes or a FlowQuery result A cache entry with this tag will be flushed whenever one of the given nodes (for any variant) is updated.
nodeTypeTag ( NodeType $nodeType ) : string Generate an @cache entry tag for a node type A cache entry with this tag will be flushed whenever a node (for any variant) that is of the given node type (including inheritance) is updated.

보호된 메소드들

메소드 설명
convertArrayOfNodesToArrayOfNodeIdentifiersWithPrefix ( mixed $nodes, string $prefix ) : array Render a caching configuration for array of Nodes

메소드 상세

allowsCallOfMethod() 공개 메소드

All methods are considered safe
public allowsCallOfMethod ( string $methodName ) : boolean
$methodName string
리턴 boolean

convertArrayOfNodesToArrayOfNodeIdentifiersWithPrefix() 보호된 메소드

Render a caching configuration for array of Nodes
protected convertArrayOfNodesToArrayOfNodeIdentifiersWithPrefix ( mixed $nodes, string $prefix ) : array
$nodes mixed
$prefix string
리턴 array

descendantOfTag() 공개 메소드

Generate a @cache entry tag for descendants of a node, an array of nodes or a FlowQuery result A cache entry with this tag will be flushed whenever a node (for any variant) that is a descendant (child on any level) of one of the given nodes is updated.
public descendantOfTag ( mixed $nodes ) : array
$nodes mixed (A single Node or array or \Traversable of Nodes)
리턴 array

nodeTag() 공개 메소드

Generate a @cache entry tag for a single node, array of nodes or a FlowQuery result A cache entry with this tag will be flushed whenever one of the given nodes (for any variant) is updated.
public nodeTag ( mixed $nodes ) : array
$nodes mixed (A single Node or array or \Traversable of Nodes)
리턴 array

nodeTypeTag() 공개 메소드

Generate an @cache entry tag for a node type A cache entry with this tag will be flushed whenever a node (for any variant) that is of the given node type (including inheritance) is updated.
public nodeTypeTag ( NodeType $nodeType ) : string
$nodeType Neos\ContentRepository\Domain\Model\NodeType
리턴 string