Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2014-09-07 05:04:53 +0400
committerdiosmosis <benaka@piwik.pro>2014-09-07 05:07:58 +0400
commitf833bd262185e980d4b34a737a3a936352849a1b (patch)
tree79d003ed071e9bd4ad507d4b11f9b49d3407134c /core
parentc484f0722122fbc504794c73a7558de6a1653999 (diff)
Fixing documentation formatting of Controller::renderTemplate().
Diffstat (limited to 'core')
-rw-r--r--core/Plugin/Controller.php14
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`.
*