wCMF 4.1
Guides
Getting started
Architecture
Model
Persistence
Presentation
Configuration
Security
I18n & l10n
Tests
Versions
4.1.x
4.0.x
API
Classes
Hierarchy
Code
Support
home
travis
build
iherwig
wcmf
src
wcmf
lib
core
Event.php
1
<?php
2
/**
3
* wCMF - wemove Content Management Framework
4
* Copyright (C) 2005-2020 wemove digital solutions GmbH
5
*
6
* Licensed under the terms of the MIT License.
7
*
8
* See the LICENSE file distributed with this work for
9
* additional information.
10
*/
11
namespace
wcmf\lib\core
;
12
13
/**
14
* Event is the base class for all events.
15
*
16
* @author ingo herwig <ingo@wemove.com>
17
*/
18
abstract
class
Event
{
19
20
private
$isStopped =
false
;
21
22
/**
23
* Stop further processing of the event
24
*/
25
public
function
stopPropagation
() {
26
$this->
isStopped
=
true
;
27
}
28
29
/**
30
* Check if the event is stopped
31
* @return Boolean
32
*/
33
public
function
isStopped
() {
34
return
$this->isStopped;
35
}
36
}
37
?>
wcmf\lib\core\Event\isStopped
isStopped()
Check if the event is stopped.
Definition:
Event.php:33
wcmf\lib\core\Event
Event is the base class for all events.
Definition:
Event.php:18
wcmf\lib\core
Core classes.
Definition:
namespaces.php:11
wcmf\lib\core\Event\stopPropagation
stopPropagation()
Stop further processing of the event.
Definition:
Event.php:25