PHP 클래스 Neos\ContentRepository\Eel\FlowQueryOperations\CacheLifetimeOperation

To include already hidden nodes (with a hiddenBeforeDateTime value in the future) in the result, also invisible nodes have to be included in the context. This can be achieved using the "context" operation before fetching child nodes. Example: q(node).context({'invisibleContentShown': true}).children().cacheLifetime()
상속: extends Neos\Eel\FlowQuery\Operations\AbstractOperation
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$final boolean
$now Neos\Flow\Utility\Now
$priority integer
$shortName string

공개 메소드들

메소드 설명
canEvaluate ( $context ) : boolean
evaluate ( FlowQuery $flowQuery, array $arguments ) : integer

메소드 상세

canEvaluate() 공개 메소드

public canEvaluate ( $context ) : boolean
리턴 boolean TRUE if the operation can be applied onto the $context, FALSE otherwise

evaluate() 공개 메소드

public evaluate ( FlowQuery $flowQuery, array $arguments ) : integer
$flowQuery Neos\Eel\FlowQuery\FlowQuery The FlowQuery object
$arguments array None
리턴 integer The cache lifetime in seconds or NULL if either no content collection was given or no child node had a "hiddenBeforeDateTime" or "hiddenAfterDateTime" property set

프로퍼티 상세

$final 보호되어 있는 정적으로 프로퍼티

protected static bool $final
리턴 boolean

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

protected Now,Neos\Flow\Utility $now
리턴 Neos\Flow\Utility\Now

$priority 보호되어 있는 정적으로 프로퍼티

protected static int $priority
리턴 integer

$shortName 보호되어 있는 정적으로 프로퍼티

protected static string $shortName
리턴 string