Initial xml and json views for Event index and view
This commit is contained in:
parent
5385e20e8e
commit
5cabbe280d
|
@ -0,0 +1 @@
|
|||
echo json_encode($events);
|
|
@ -0,0 +1 @@
|
|||
echo json_encode($event);
|
|
@ -0,0 +1,2 @@
|
|||
$xml = Xml::fromArray(array('response' => $events));
|
||||
echo $xml->asXML();
|
|
@ -0,0 +1,2 @@
|
|||
$xml = Xml::fromArray(array('response' => $event));
|
||||
echo $xml->asXML();
|
Loading…
Reference in New Issue