Files
zurawik.pl/controller/SoapController.php
2026-05-15 18:33:51 +02:00

44 lines
805 B
PHP

<?php
/**
*
* Modul testowy soap
*
*/
class SoapController extends MainController implements ControllerInterface {
/**
* Strona glowna
*
*/
public function IndexAction($param) {
//$result = SoapCommunication::getTest();
//$result = SoapCommunication::getLogin();
$soapComm = new SoapCommunication();
$result = SoapCommunication::getProductList();
Utils::ArrayDisplay('jeah!');
Utils::ArrayDisplay($result);
}
/**
* Czesc wspolna wszystkich podstron
*
*/
public function PreDispatch($param) {
//$this->AddScript('swfobject.js');
$this->smarty->assign('lang', $param['lang']);
$this->Run($param);
}
public function PostDispatch($param) {
}
}
?>