| | |
| | | #parent: #root |
| | | StaticMethod InitializeTable ( |
| | | LibCal_Calendars subscribers, |
| | | LibCal_Calendar owner, |
| | | LibCal_EventCategory category |
| | | LibCal_Calendar owner |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // 甄兰鸽 May-28-2024 (created) |
| | | owner.LibCal_SubscriberEventTable( relflush ); |
| | | if( owner.LibCal_SubscriberEventTable( relsize ) < 1 ){ |
| | | owner.LibCal_SubscriberEventTable( relnew, ID := 'Day', Name := 'Day' ); |
| | | owner.LibCal_SubscriberEventTable( relnew, ID := 'Week', Name := 'Week' ); |
| | | owner.LibCal_SubscriberEventTable( relnew, ID := 'Month', Name := 'Month' ); |
| | | } |
| | | info('-----------------------------', owner.LibCal_SubscriberEventTable( relsize ), subscribers.Size(), isnull( category ) ); |
| | | info('-----------------------------', owner.LibCal_SubscriberEventTable( relsize ), subscribers.Size() ); |
| | | traverse( owner, LibCal_SubscriberEventTable, table ){ |
| | | table.InitializeTable( subscribers, category ); |
| | | table.InitializeTable( subscribers ); |
| | | } |
| | | *] |
| | | } |