Changeset 949 for trunk


Ignore:
Timestamp:
Apr 24, 2023, 8:26:33 AM (20 months ago)
Author:
chronos
Message:
  • Fixed: Defined missing class fields.
Location:
trunk
Files:
8 edited

Legend:

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

    r919 r949  
    1717  function DoStart(): void
    1818  {
    19     $this->System->FormManager->RegisterClass('Log', array(
     19    Core::Cast($this->System)->FormManager->RegisterClass('Log', array(
    2020      'Title' => 'Záznamy',
    2121      'Table' => 'Log',
     
    5151  function ShowRSS(): string
    5252  {
    53     $this->RawPage = true;
    54     $this->FormatHTML = false;
    5553    Header('Content-Type: text/xml');
    5654    $Count = 100;
     
    7169      (
    7270        'Title' => $Line['Module'].' '.$Line['Operation'].' ('.$Line['UserName'].', '.$Line['IPAddress'].')',
    73         'Link' => 'https://'.$this->System->Config['Web']['Host'].$this->System->Link('/is/?t=Log&a=list'),
     71        'Link' => 'https://'.Core::Cast($this->System)->Config['Web']['Host'].$this->System->Link('/is/?t=Log&a=list'),
    7472        'Description' => $Line['Module'].' '.$Line['Operation'].': '.$Line['Value'].' ('.$Line['UserName'].
    7573          ', '.$Line['IPAddress'].', '.HumanDate($Line['Time']).')',
     
    7977
    8078    $RSS = new RSS();
    81     $RSS->Title = $this->System->Config['Web']['Title'].' - Záznamy';
    82     $RSS->Link = 'https://'.$this->System->Config['Web']['Host'].'/';
    83     $RSS->Description = 'Aktuality '.$this->System->Config['Web']['Description'];
    84     $RSS->WebmasterEmail = $this->System->Config['Web']['AdminEmail'];
     79    $RSS->Title = Core::Cast($this->System)->Config['Web']['Title'].' - Záznamy';
     80    $RSS->Link = 'https://'.Core::Cast($this->System)->Config['Web']['Host'].'/';
     81    $RSS->Description = 'Aktuality '.Core::Cast($this->System)->Config['Web']['Description'];
     82    $RSS->WebmasterEmail = Core::Cast($this->System)->Config['Web']['AdminEmail'];
    8583    $RSS->Items = $Items;
    8684    return $RSS->Generate();
  • trunk/Packages/Common/Image.php

    r887 r949  
    9898  }
    9999
    100   function Output(): void
    101   {
    102     $this->SaveToFile(NULL);
    103   }
    104 
    105100  function SetSize(int $Width, int $Height): void
    106101  {
  • trunk/Packages/Common/Mail.php

    r935 r949  
    2121  private string $Boundary;
    2222  public bool $TestMode;
     23  public string $SenderAddress;
     24  public string $SenderName;
    2325
    2426  function __construct()
     
    7274  function Organization(string $org): void
    7375  {
    74     if (trim($org != '')) $this->xheaders['Organization'] = $org;
     76    if (trim($org != '')) $this->Headers['Organization'] = $org;
    7577  }
    7678
     
    8183    if (!isset($this->Priorities[$Priority - 1])) return false;
    8284
    83     $this->xheaders['X-Priority'] = $this->Priorities[$Priority - 1];
     85    $this->Headers['X-Priority'] = $this->Priorities[$Priority - 1];
    8486    return true;
    8587  }
  • trunk/Packages/Common/ModelDesc.php

    r934 r949  
    88  public string $PrimaryKey;
    99  public bool $Memory;
     10  public $DefaultValuesMethod;
    1011
    1112  function __construct(string $Name)
  • trunk/Packages/Common/ModuleManager.php

    r900 r949  
    1010  public $OnLoadModules;
    1111  public $OnInstallModel;
    12   public $OnUninstsallModel;
     12  public $OnUninstallModel;
    1313  public $OnInstallModule;
    14   public $OnUninstsallModule;
     14  public $OnUninstallModule;
     15  public $OnModuleChange;
    1516  private int $NewModuleId;
    1617
     
    2526    $this->OnInstallModule = null;
    2627    $this->OnUninstallModule = null;
     28    $this->OnModuleChange = null;
    2729    $this->NewModuleId = 1;
    2830  }
  • trunk/Packages/Common/System.php

    r912 r949  
    33class ModelDef
    44{
     5  public string $Title;
    56  public array $OnChange;
    67
  • trunk/Packages/Common/Table.php

    r888 r949  
    9797  public TableMemory $Table;
    9898  public string $Style;
     99  private array $OrderDirSQL;
    99100
    100101  function __construct()
  • trunk/Packages/Common/Update.php

    r890 r949  
    88  public Database $Database;
    99  public string $InstallMethod;
     10  public $InsertSampleDataMethod;
    1011
    1112  function __construct()
Note: See TracChangeset for help on using the changeset viewer.