[icinga-checkins] icinga.org: icinga-web/master: * Fixed method encapsulation issue

git at icinga.org git at icinga.org
Tue Apr 17 10:43:19 CEST 2012


Module: icinga-web
Branch: master
Commit: dfcd8e55147bb06bff3aea720f188d85285857b8
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=dfcd8e55147bb06bff3aea720f188d85285857b8

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Thu Mar  1 18:00:28 2012 +0100

* Fixed method encapsulation issue

---

 .../lib/template/CronkGridTemplateWorker.class.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/Cronks/lib/template/CronkGridTemplateWorker.class.php b/app/modules/Cronks/lib/template/CronkGridTemplateWorker.class.php
index 33f6e6d..f48ef49 100644
--- a/app/modules/Cronks/lib/template/CronkGridTemplateWorker.class.php
+++ b/app/modules/Cronks/lib/template/CronkGridTemplateWorker.class.php
@@ -41,7 +41,7 @@ abstract class CronkGridTemplateWorker {
      * @param IcingaApiResult$result
      * @return ArrayObject
      */
-    private function addAdditionalFieldResults(/*IcingaApiResult*/ $result) {
+    protected function addAdditionalFieldResults(/*IcingaApiResult*/ $result) {
         $out = new ArrayObject();
         $ds = $this->getTemplate()->getSection('datasource');
 
@@ -125,7 +125,7 @@ abstract class CronkGridTemplateWorker {
         return $modelObject->$method($data_val, new AgaviParameterHolder($params), new AgaviParameterHolder($row));
     }
 
-    private function getApiField($field_name) {
+    protected function getApiField($field_name) {
         return $this->getTemplate()->getFieldByName($field_name, 'datasource')->getParameter('field');
     }
 }





More information about the icinga-checkins mailing list