Initial xml and json views for Event index and view

This commit is contained in:
Kyle Johnson 2014-04-25 02:01:17 +00:00
parent 5385e20e8e
commit 5cabbe280d
4 changed files with 6 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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