static function labels($type) { if ($type === 'EventTypeAnniversary') { return EventTypeAnniversary::labels(); } else { if ($type === 'EventTypeAnniversaryWedding') { return EventTypeAnniversaryWedding::labels(); } else { if ($type === 'EventTypeBirthday') { return EventTypeBirthday::labels(); } else { if ($type === 'EventTypeCelebration') { return EventTypeCelebration::labels(); } else { if ($type === 'EventTypeGigMusic') { return EventTypeGigMusic::labels(); } else { if ($type === 'EventTypeGigComedy') { return EventTypeGigComedy::labels(); } else { if ($type === 'EventTypeParty') { return EventTypeParty::labels(); } else { if ($type === 'EventTypePartyLaunch') { return EventTypePartyLaunch::labels(); } } } } } } } } return EventType::labels(); }
public static function labels() { $labels = parent::labels(); array_push($labels, 'EventTypeAnniversary'); return $labels; }
public static function labels() { $labels = parent::labels(); array_push($labels, 'EventTypeCelebration'); return $labels; }
public static function labels() { $labels = parent::labels(); array_push($labels, 'EventTypeBirthday'); return $labels; }