Class IgnoreUserAbort

Summary

Fully Qualified Name: Zend\Cache\Storage\Plugin\IgnoreUserAbort
Extends: AbstractPlugin

Description

Methods

Name Description Defined By
attach() {@inheritDoc} IgnoreUserAbort
detach() {@inheritDoc} AbstractListenerAggregate
getOptions() Get all pattern options AbstractPlugin
onAfter() Reset ignore_user_abort if it's activated and if it's the same target who activated it. IgnoreUserAbort
onBefore() Activate ignore_user_abort if not already done and save the target who activated it. IgnoreUserAbort
setOptions() Set pattern options AbstractPlugin

Method Details

attach()

{@inheritDoc}

Parameter Name Type Description
$events
$priority

Returns:

detach()

{@inheritDoc}

Parameter Name Type Description
$events

Returns:

getOptions()

Get all pattern options

Returns: \PluginOptions

onAfter()

Reset ignore_user_abort if it's activated and if it's the same target who activated it.

If exit_on_abort is enabled and the connection has been aborted exit the script.

Parameter Name Type Description
$event \Event

Returns: void

onBefore()

Activate ignore_user_abort if not already done and save the target who activated it.

Parameter Name Type Description
$event \Event

Returns: void

setOptions()

Set pattern options

Parameter Name Type Description
$options \PluginOptions

Returns: \AbstractPlugin Provides a fluent interface

Top