extranet/application/controllers/DebugController.php
Damien LASSERRE 10a13eaefd Giant modif
2011-06-29 14:39:16 +00:00

23 lines
732 B
PHP

<?php
class DebugController extends Zend_Controller_Action
{
public function init()
{
$this->view->headLink()->appendStylesheet('/themes/default/styles/giant.css', 'all');
$this->view->headScript()->appendFile('/themes/default/scripts/giant.js', 'text/javascript');
}
public function identiteAction()
{
$menu = array('Objet', 'Requete XML', 'Reponse XML');
$request = $this->getRequest();
$soap = $request->getParam('soap');
$this->view->resultat = $request->getParam('resultat');
$this->view->menu = $menu;
$this->view->requestXML = $soap->getLastRequest();
$this->view->responseXML = $soap->getLastResponse();
}
}