class PageVersionSource implements Source
Purpose of this class is to source out events that are page versions in disguise.
It also handles updating a page version event if the user has changed it on the front end calendar ...
Methods
|
__construct(DvsPageVersion $PageVersion, Framework $Framework)
Create a new PageVersionSource |
||
| array(StdClass) |
fetchEvents(string $start, string $end)
A Source must be able to fetch events. |
|
| StdClass |
updatePageVersion(int $id, string $start, string $end, boolean $published)
This is here so that we can update a page version event |
Details
at line 18
public
__construct(DvsPageVersion $PageVersion, Framework $Framework)
Create a new PageVersionSource
at line 32
public array(StdClass)
fetchEvents(string $start, string $end)
A Source must be able to fetch events.
On this source we treat page versions as events with start and end dates.
at line 62
public StdClass
updatePageVersion(int $id, string $start, string $end, boolean $published)
This is here so that we can update a page version event