23 lines
732 B
PHP
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();
|
|
}
|
|
|
|
} |