@owner Deutsche Gesellschaft für International Zusammenarbeit (GIZ) Gmb @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html /-------------------------------------------------------------------------------------------------------/ Cost Benefit Projection Tool. /------------------------------------------------------------------------------------------------------*/ // No direct access to this file defined('_JEXEC') or die('Restricted access'); // reset all default arrays $countryList = array(); $countryDetails = array(); $serviceList = array(); // build list layout for countries and service providers if ($this->items) { foreach($this->items as $item) { $temp = $this->buildDetails($item); $countryList[] = ''; $countryDetails[] = ''; // check if this country has service providers set if (CostbenefitprojectionHelper::checkArray($item->idCountryService_providerB)) { $bucket = array(); $displayChecker = count($item->idCountryService_providerB); foreach ($item->idCountryService_providerB as $service) { $temp = $this->buildDetails($service); if (1 == $displayChecker) { $bucket[] = '

'.$temp['list'].'

'.$temp['details'].'
'; } else { $bucket[] = '

'.$temp['list'].'

'.$temp['details'].'
'; } } if (1 == $displayChecker) { $serviceList[] = ''; } else { $serviceList[] = ''; } } else { $serviceList[] = ''; } } } ?> toolbar->render(); ?> items): ?>