diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
commit | 7e8500eea1e53b1de0e0f70400664afa442cd08d (patch) | |
tree | 4dd246a9b26f930fc7cbfef76116320dcbe77aaf /inc/events.php | |
parent | e3710957c6b7e12293805a15d0624be7c7054092 (diff) | |
download | rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.gz rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.bz2 |
PHPDocs and some improvements
Diffstat (limited to 'inc/events.php')
-rw-r--r-- | inc/events.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/inc/events.php b/inc/events.php index 4cd06b9f9..256fb561e 100644 --- a/inc/events.php +++ b/inc/events.php @@ -27,6 +27,9 @@ class Doku_Event { /** * event constructor + * + * @param string $name + * @param mixed $data */ function Doku_Event($name, &$data) { @@ -120,14 +123,18 @@ class Doku_Event { * stop any further processing of the event by event handlers * this function does not prevent the default action taking place */ - function stopPropagation() { $this->_continue = false; } + function stopPropagation() { + $this->_continue = false; + } /** * preventDefault * * prevent the default action taking place */ - function preventDefault() { $this->_default = false; } + function preventDefault() { + $this->_default = false; + } } /** |