update
This commit is contained in:
43
controller/SoapController.php
Normal file
43
controller/SoapController.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?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) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user