Skip to content
Browse files

Fixing some indentation in the docs...

  • Loading branch information...
1 parent afb10c1 commit 7721a29c9cb63b1974b62dfc6fa13dce74596ff5 ixmatus committed
Showing with 15 additions and 16 deletions.
  1. +15 −16 system/core/Event.php
View
31 system/core/Event.php
@@ -25,7 +25,6 @@
* after existing events.
*
* ##### Using the Event Library
- *
* All of the methods defined by the Event class are static, there is
* no need to instantiate the class as an object.
*
@@ -33,22 +32,22 @@
*
* class Test_Controller extends Controller
* {
- * public function __construct()
- * {
- * parent::__construct();
- *
- * Event::add('system.display', array($this, '_pre_render'));
- * }
- *
- * public function index()
- * {
- * echo Kohana::debug("Some text, or do some view instantiation and echoing here");
- * }
+ * public function __construct()
+ * {
+ * parent::__construct();
*
- * public function _pre_render()
- * {
- * echo Kohana::debug("This renders before the controller action outputs anything...");
- * }
+ * Event::add('system.display', array($this, '_pre_render'));
+ * }
+ *
+ * public function index()
+ * {
+ * echo Kohana::debug("Some text, or do some view instantiation and echoing here");
+ * }
+ *
+ * public function _pre_render()
+ * {
+ * echo Kohana::debug("This renders before the controller action outputs anything...");
+ * }
* }
*
* // Output:

0 comments on commit 7721a29

Please sign in to comment.
Something went wrong with that request. Please try again.