aboutsummaryrefslogtreecommitdiff
path: root/model/Schedule.php
diff options
context:
space:
mode:
authorMaZderMind2016-12-11 21:46:01 +0100
committerMaZderMind2016-12-11 21:46:01 +0100
commit284878f0f9917b55359cd464b86508cacc472653 (patch)
tree98014d22b46d7fc9601a3b7bbd26c56afb1cf45c /model/Schedule.php
parent6e0f7423769174b83d6b5618db7c33d54967099a (diff)
add cache-file getters and download preparations
Diffstat (limited to 'model/Schedule.php')
-rw-r--r--model/Schedule.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/model/Schedule.php b/model/Schedule.php
index eb9fe05..4032ecb 100644
--- a/model/Schedule.php
+++ b/model/Schedule.php
@@ -265,11 +265,16 @@ class Schedule
return ((int)$parts[0] * 60 + (int)$parts[1]) * 60;
}
- private function getScheduleUrl()
+ public function getScheduleUrl()
{
return $this->getConference()->get('SCHEDULE.URL');
}
+ public function getScheduleCache()
+ {
+ return sprintf('/tmp/schedule-cache-%s', $this->getConference()->getSlug());
+ }
+
public function getScheduleToRoomSlugMapping()
{
$mapping = array();