Initial xml and json views for Config index and view

This commit is contained in:
Kyle Johnson 2014-04-23 20:01:08 +00:00
parent af91a1482f
commit 159a1ec533
4 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
echo json_encode($configs);

View File

@ -0,0 +1 @@
echo json_encode($config);

View File

@ -0,0 +1,2 @@
$xml = Xml::fromArray(array('response' => $configs));
echo $xml->asXML();

View File

@ -0,0 +1,2 @@
$xml = Xml::fromArray(array('response' => $config));
echo $xml->asXML();