| 1: | <?php |
| 2: | |
| 3: | namespace Aurora\Modules\Calendar\Enums; |
| 4: | |
| 5: | class Period extends \Aurora\System\Enums\AbstractEnumeration |
| 6: | { |
| 7: | public const Never = 0; |
| 8: | public const Daily = 1; |
| 9: | public const Weekly = 2; |
| 10: | public const Monthly = 3; |
| 11: | public const Yearly = 4; |
| 12: | |
| 13: | /** |
| 14: | * @var array |
| 15: | */ |
| 16: | protected $aConsts = array( |
| 17: | 'Never' => self::Never, |
| 18: | 'Daily' => self::Daily, |
| 19: | 'Weekly' => self::Weekly, |
| 20: | 'Monthly' => self::Monthly, |
| 21: | 'Yearly' => self::Yearly |
| 22: | ); |
| 23: | } |
| 24: |