Ignore:
Timestamp:
Jan 4, 2020, 11:59:33 AM (5 years ago)
Author:
chronos
Message:
  • Added: New filter data type Boolean for representing on/off switches.
  • Added: Show only upcoming events. Allow to show also past events.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Event/Event.php

    r51 r52  
    5858  public $Id;
    5959  public $Database;
     60  public $AddedCount;
     61
     62  function ImportInternal()
     63  {
     64  }
    6065
    6166  function Import()
    6267  {
    6368    $this->AddedCount = 0;
    64     $Output = 'Parsing '.$this->Name.' ('.$this->Id.')...</br>';
     69    $Output = 'Parsing '.$this->Name.' ('.$this->Id.')...';
     70    $this->ImportInternal();
     71    $Output .= 'done.';
     72    if ($this->AddedCount > 0) $Output .= ' '.$this->AddedCount.' new.';
     73    $Output .= '</br>'."\n";
    6574    return $Output;
    6675  }
Note: See TracChangeset for help on using the changeset viewer.