/** * Returns a description of this event's recurring type. * * @return string Human readable recurring type. */ public function getRecurName() { if (empty($this->baseid)) { return $this->recurs() ? $this->recurrence->getRecurName() : _("No recurrence"); } else { return _("Exception"); } }