You are here

function ExpireInterface::expire in Cache Expiration 7.2

Expires urls for the object.

Parameters

$object: Some object (user, node, comment, etc).

$action: Action that was executed for the object.

$skip_action_check: Shows whether should we check executed action or just expire node.

8 methods override ExpireInterface::expire()
ExpireComment::expire in includes/expire.comment.inc
Executes expiration actions for comment.
ExpireDomain::expire in includes/expire.domain.inc
Expires urls for the object.
ExpireFile::expire in includes/expire.file.inc
Executes expiration actions for file.
ExpireMenuLink::expire in includes/expire.menu_link.inc
Executes expiration actions for menu link.
ExpireNode::expire in includes/expire.node.inc
Executes expiration actions for node.

... See full list

File

includes/expire.interface.inc, line 22
Interface that should implements class to be added in Expiration group.

Class

ExpireInterface
@file Interface that should implements class to be added in Expiration group.

Code

function expire($object, $action, $skip_action_check = FALSE);