PHP Класс eZ\Publish\Core\MVC\Symfony\Event\ContentCacheClearEvent

Наследование: extends Symfony\Component\EventDispatcher\Event
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo )
addLocationToClear ( eZ\Publish\API\Repository\Values\Content\Location $location ) Adds a location that needs to be cleared.
getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\ContentInfo Returns ContentInfo object we're clearing the cache for.
getLocationsToClear ( ) : eZ\Publish\API\Repository\Values\Content\Location[] Returns all location objects registered to the cache clear process.
setLocationsToClear ( array $locationsToClear ) Replaces the list of locations to clear.

Описание методов

__construct() публичный Метод

public __construct ( eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo )
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo

addLocationToClear() публичный Метод

Adds a location that needs to be cleared.
public addLocationToClear ( eZ\Publish\API\Repository\Values\Content\Location $location )
$location eZ\Publish\API\Repository\Values\Content\Location

getContentInfo() публичный Метод

Returns ContentInfo object we're clearing the cache for.
public getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\ContentInfo
Результат eZ\Publish\API\Repository\Values\Content\ContentInfo

getLocationsToClear() публичный Метод

Returns all location objects registered to the cache clear process.
public getLocationsToClear ( ) : eZ\Publish\API\Repository\Values\Content\Location[]
Результат eZ\Publish\API\Repository\Values\Content\Location[]

setLocationsToClear() публичный Метод

Replaces the list of locations to clear.
public setLocationsToClear ( array $locationsToClear )
$locationsToClear array