[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [16171] more on eventplanner
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [16171] more on eventplanner |
Date: |
Thu, 19 Jan 2017 12:57:56 -0500 (EST) |
Revision: 16171
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=16171
Author: sigurdne
Date: 2017-01-19 12:57:55 -0500 (Thu, 19 Jan 2017)
Log Message:
-----------
more on eventplanner
Modified Paths:
--------------
trunk/eventplanner/inc/model/class.vendor_report.inc.php
Modified: trunk/eventplanner/inc/model/class.vendor_report.inc.php
===================================================================
--- trunk/eventplanner/inc/model/class.vendor_report.inc.php 2017-01-19
15:47:50 UTC (rev 16170)
+++ trunk/eventplanner/inc/model/class.vendor_report.inc.php 2017-01-19
17:57:55 UTC (rev 16171)
@@ -60,18 +60,14 @@
return new eventplanner_vendor_report();
}
- public function set_custom_fields()
+ public static function get_custom_fields()
{
- $this->custom_fields =
$GLOBALS['phpgw']->custom_fields->find('eventplanner', self::acl_location, 0,
'', 'ASC', 'attrib_sort', true, true);
- }
-
- public function get_custom_fields()
- {
- if (!$this->custom_fields)
+ static $custom_fields = array();
+ if(!$custom_fields)
{
- $this->set_custom_fields();
+ $custom_fields =
$GLOBALS['phpgw']->custom_fields->find('eventplanner', self::acl_location, 0,
'', 'ASC', 'attrib_sort', true, true);
}
- return $this->custom_fields;
+ return $custom_fields;
}
public function get_organized_fields()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [16171] more on eventplanner,
sigurdne <=