Releases: maddhatter/laravel-fullcalendar
Releases · maddhatter/laravel-fullcalendar
Support Auto-Discovery
Merge pull request #86 from davidcb/master Added support for Auto Package Discovery
Allow user to set event source as URL
Allow user to set event source as URL
Port Options from Laravel 5 Branch
Merge pull request #43 from wa7eedem/laravel-4-edit Add options to laravel-4
Support additional event parameters
It is now possible to add additional parameters to an event, see the new readme section for details
Bugfix
Fix incorrect variable assignment on SimpleEvents
Allow $id parameter to Calendar::event
Calendar::event
can accept an event ID as its 5th parameter
Wait for DOM to be ready
Add a document ready handler to the script
Specify Event IDs
Added ability to set event IDs:
$event = \Calendar::event(
"Valentine's Day", //event title
true, //full day event?
'2015-02-14', //start time, must be a DateTime object or valid DateTime format (http://bit.ly/1z7QWbg)
'2015-02-14' //end time, must be a DateTime object or valid DateTime format (http://bit.ly/1z7QWbg),
1 //optional event ID
);
class EventModel extends Eloquent implements \MaddHatter\LaravelFullcalendar\IdentifiableEvent
{
// Implement all Event methods ...
/**
* Get the event's ID
*
* @return int|string|null
*/
public function getId();
}
Callbacks (5.0)
Allow callback options to be set, using setCallbacks()
$calendar->setCallbacks([ //set fullcalendar callback options (will not be JSON encoded)
'viewRender' => 'function() {alert("Callbacks!");}'
]);
Callbacks (4.2)
Allow callback options to be set, using setCallbacks()
$calendar->setCallbacks([ //set fullcalendar callback options (will not be JSON encoded)
'viewRender' => 'function() {alert("Callbacks!");}'
]);