diff options
author | diosmosis <benaka@piwik.pro> | 2014-09-07 05:04:53 +0400 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2014-09-07 05:07:58 +0400 |
commit | f833bd262185e980d4b34a737a3a936352849a1b (patch) | |
tree | 79d003ed071e9bd4ad507d4b11f9b49d3407134c /core | |
parent | c484f0722122fbc504794c73a7558de6a1653999 (diff) |
Fixing documentation formatting of Controller::renderTemplate().
Diffstat (limited to 'core')
-rw-r--r-- | core/Plugin/Controller.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/Plugin/Controller.php b/core/Plugin/Controller.php index 7b6298dfe7..615ec544ed 100644 --- a/core/Plugin/Controller.php +++ b/core/Plugin/Controller.php @@ -252,13 +252,13 @@ abstract class Controller * Assigns the given variables to the template and renders it. * * Example: - * ``` - public function myControllerAction () { - return $this->renderTemplate('index', array( - 'answerToLife' => '42' - )); - } - ``` + * + * public function myControllerAction () { + * return $this->renderTemplate('index', array( + * 'answerToLife' => '42' + * )); + * } + * * This will render the 'index.twig' file within the plugin templates folder and assign the view variable * `answerToLife` to `42`. * |