This commit is contained in:
Adam Shaw 2009-04-26 04:43:27 +00:00
parent 38d5c9faf1
commit b676a330d9
16 changed files with 7297 additions and 0 deletions

25
examples/json_events.php Normal file
View file

@ -0,0 +1,25 @@
<?php
$year = date('Y');
$month = date('m');
echo json_encode(array(
array(
'id' => 1,
'title' => "Event1",
'start' => "$year-$month-10",
'url' => "http://yahoo.com/"
),
array(
'id' => 2,
'title' => "Event2",
'start' => "$year-$month-20",
'end' => "$year-$month-22",
'url' => "http://yahoo.com/"
)
));
?>