PHP 클래스 eZ\Publish\Core\MVC\Symfony\Cache\Http\SignalSlot\PurgeForContentHttpCacheSlot

Will by default use the contentId property of the signal object, as it is the most common. Override the extractContentId() method in your own signal to use a different property.
상속: extends HttpCacheSlot
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel

보호된 메소드들

메소드 설명
extractContentId ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed Default implementation that returns the contentId property's value.
extractLocationIds ( eZ\Publish\Core\SignalSlot\Signal $signal ) : array Default implementation that returns the signal location property values.
purgeHttpCache ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed Purges all caches.

메소드 상세

extractContentId() 보호된 메소드

Default implementation that returns the contentId property's value.
protected extractContentId ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed
$signal eZ\Publish\Core\SignalSlot\Signal
리턴 mixed Content ID

extractLocationIds() 보호된 메소드

This is extracted and provided to purgeForContent in case content is trashed where affected location is no longer returned by API.
protected extractLocationIds ( eZ\Publish\Core\SignalSlot\Signal $signal ) : array
$signal eZ\Publish\Core\SignalSlot\Signal
리턴 array Location ID's

purgeHttpCache() 보호된 메소드

Purges all caches.
protected purgeHttpCache ( eZ\Publish\Core\SignalSlot\Signal $signal ) : mixed
$signal eZ\Publish\Core\SignalSlot\Signal
리턴 mixed