/** @return string The Daisy URL for the info pop-up for this person */ public function getDaisyPopupUrl($lang = 'sv') { if ($lang !== 'sv' && $lang !== 'en') { throw new \DomainException("Language not supported: {$lang}"); } return Client::getDaisyBaseUrl() . "/anstalld/anstalldinfo.jspa?personID=" . $this->getId() . "&daisy__lang={$lang}"; }
/** * @return string */ public function getDaisyUrl() { return Client::getDaisyBaseUrl() . '/anstalld/publikation/publicationInfo.jspa?' . 'daisy__lang=en&publikationID=' . $this->getId(); }
/** * @return string The Daisy URL for the schedule for this * course segment */ public function getDaisyScheduleUrl() { return Client::getDaisyBaseUrl() . '/servlet/schema.moment.Momentschema?id=' . $this->getId(); }