Source for file helper.php
Documentation is available at helper.php
* @subpackage mod_wrapper
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @subpackage mod_wrapper
* Gets the parameters for the wrapper
* @param mixed &$params The parameters set in the administrator section
* @return mixed ¶ms The modified parameters
$params->def('scrolling', 'auto');
$params->def('height', '200');
$params->def('height_auto', '0');
$params->def('width', '100%');
$params->def('add', '1');
$params->def('name', 'wrapper');
$url =
$params->get('url');
// Adds 'http://' if none is set
if (substr($url, 0, 1) ==
'/')
// Relative url in component. use server http_host.
$url =
'http://' .
$_SERVER['HTTP_HOST'] .
$url;
if ($params->def('height_auto'))
$load =
'onload="iFrameHeight()"';
$params->set('load', $load);
$params->set('url', $url);
Documentation generated on Tue, 19 Nov 2013 15:04:22 +0100 by phpDocumentor 1.4.3