1 | <?php namespace EvolutionCMS; |
||
3 | class Event implements Interfaces\EventInterface |
||
4 | { |
||
5 | public $name = ''; |
||
6 | public $_propagate = true; |
||
7 | /** |
||
8 | * @deprecated use setOutput(), getOutput() |
||
9 | * @var string |
||
10 | */ |
||
11 | public $_output; |
||
12 | public $activated = false; |
||
13 | public $activePlugin = ''; |
||
14 | public $params = array(); |
||
15 | |||
16 | /** |
||
17 | * @param string $name Name of the event |
||
18 | */ |
||
19 | public function __construct($name = "") |
||
24 | |||
25 | /** |
||
26 | * Display a message to the user |
||
27 | * |
||
28 | * @global array $SystemAlertMsgQueque |
||
29 | * @param string $msg The message |
||
30 | */ |
||
31 | public function alert($msg) |
||
45 | |||
46 | /** |
||
47 | * Output |
||
48 | * |
||
49 | * @param string $msg |
||
50 | * @deprecated see addOutput |
||
51 | */ |
||
52 | public function output($msg) |
||
56 | |||
57 | /** |
||
58 | * @param mixed $data |
||
59 | */ |
||
60 | public function setOutput($data) |
||
64 | |||
65 | /** |
||
66 | * @return mixed |
||
67 | */ |
||
68 | public function getOutput() |
||
72 | |||
73 | /** |
||
74 | * Stop event propogation |
||
75 | */ |
||
76 | public function stopPropagation() |
||
80 | |||
81 | public function _resetEventObject() |
||
89 | } |
||
90 |
This check marks property names that have not been written in camelCase.
In camelCase names are written without any punctuation, the start of each new word being marked by a capital letter. Thus the name database connection string becomes
databaseConnectionString
.