Projekt

Allgemein

Profil

GX-Feature #43919 » EmbeddedMagnalisterModule.inc.php

system/overloads/EmbeddedModuleController/EmbeddedMagnalisterModule.inc.php - Daniel Wu, 18.11.2015 17:38

 
1
<?php
2
/* --------------------------------------------------------------
3
  EmbeddedMagnalisterModule.inc.php 2015-11-12 gm
4
  Gambio GmbH
5
  http://www.gambio.de
6
  Copyright (c) 2015 Gambio GmbH
7
  Released under the GNU General Public License (Version 2)
8
  [http://www.gnu.org/licenses/gpl-2.0.html]
9
  --------------------------------------------------------------
10
 */
11

    
12
class EmbeddedMagnalisterModule extends EmbeddedMagnalisterModule_parent
13
{
14
	/**
15
	 * Returns the embedded
16
	 *
17
	 * @return \AdminPageHttpControllerResponse
18
	 */
19
	public function actionMagnalister()
20
	{
21
		$title      = 'magnalister';
22
		$getParameters = $this->_getQueryParametersCollection();
23
		$parameterString = '';
24
		foreach($getParameters as $key => $value)
25
		{
26
			$parameterString .= $parameterString === '' ? '?' : '&';
27
			$parameterString .= $key . '=' . $value;
28
		}
29
		$url = DIR_WS_ADMIN . 'magnalister.php' . $parameterString;
30
		
31
		return parent::actionDefault($title, $url);
32
	}
33
}
    (1-1/1)