Support gestion output

This commit is contained in:
EoleDev 2016-02-28 19:26:53 +01:00
parent 3fe5596998
commit 9280eecbcf

View file

@ -16,10 +16,10 @@ class AppTest{
$this->tokenPost = NULL; $this->tokenPost = NULL;
$this->tokenClass = new genTokenOptions($args); $this->tokenClass = new genTokenOptions($args);
$this->openstack = new OpenStack\OpenStack([]); $this->openstack = new OpenStack\OpenStack([]);
$this->pluginsApi = plugin_api::getInstance(); $this->pluginsApi = plugin_api::getInstance();
$this->errorClass = new errorManagement($this); $this->errorClass = new errorManagement($this);
$this->output = array(); $this->output = array();
$this->postParams = $_POST; $this->postParams = $_POST;
} }
@ -91,7 +91,7 @@ class AppTest{
} }
public function show(){ public function show(){
echo json_encode($this->output); return json_encode($this->output);
} }
} }