public function DatexJalali::getInfo in Datex 7.2
Function to return various info, Used by parent class.
Overrides DatexCalendarIterface::getInfo
File
- datex_api/
DatexJalali.inc, line 212 - Jalali calendar for datex.
Class
- DatexJalali
- Jalali calendar for datex.
Code
public function getInfo($info) {
switch ($info) {
case 'numbers':
return self::$numbers;
case 'names':
return self::$names;
case 'month_days':
return self::$monthDays;
default:
throw new Exception('Unknown info.');
}
}