diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-18 05:00:56 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-18 05:00:56 +0400 |
commit | 62484a6d304b141f168a51a4d00f42ea0e090e63 (patch) | |
tree | 65f979935925b7f6856aa7870e0758f07f3cd32c /plugins | |
parent | e5fb9d165e4001e4950c4c58a2897cb4d0480c1f (diff) |
phpdoc
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ExampleVisualization/SimpleTable.php | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/ExampleVisualization/SimpleTable.php b/plugins/ExampleVisualization/SimpleTable.php index 54df1ff880..6b70c1fdc5 100644 --- a/plugins/ExampleVisualization/SimpleTable.php +++ b/plugins/ExampleVisualization/SimpleTable.php @@ -24,12 +24,6 @@ class SimpleTable extends Visualization const FOOTER_ICON_TITLE = 'Simple Table'; const FOOTER_ICON = 'plugins/ExampleVisualization/images/table.png'; - public function beforeRender() - { - // Configure how your visualization should look like, for instance you can disable search - // $this->config->show_search = false - } - public function beforeLoadDataTable() { // Here you can change the request that is sent to the API, for instance @@ -57,4 +51,13 @@ class SimpleTable extends Visualization $this->assignTemplateVar('vizTitle', 'MyAwesomeTitle'); } + + public function beforeRender() + { + // Configure how your visualization should look like, for instance you can disable search + // By defining the config properties shortly before rendering you make sure the config properties have a certain + // value because they could be changed by a report or by request parameters ($_GET / $_POST) before. + // $this->config->show_search = false + } + }
\ No newline at end of file |