Changeset 888 for trunk/Modules/Wiki


Ignore:
Timestamp:
Dec 27, 2022, 7:50:23 PM (2 years ago)
Author:
chronos
Message:
  • Modified: Updated Common package to latest version.
  • Modified: Fixes related to PHP 8.x.
File:
1 edited

Legend:

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

    r880 r888  
    11<?php
    22
    3 class ModuleWiki extends AppModule
     3class ModuleWiki extends Module
    44{
    55  function __construct(System $System)
     
    1414  }
    1515
    16   function DoStart()
     16  function DoStart(): void
    1717  {
    1818    $this->LoadPages();
     
    2525    {
    2626      $this->System->RegisterPage($DbRow['NormalizedName'], 'PageWiki');
    27       $this->System->RegisterMenuItem(array(
     27      Core::Cast($this->System)->RegisterMenuItem(array(
    2828          'Title' => $DbRow['Name'],
    2929          'Hint' => '',
     
    3838class PageWiki extends Page
    3939{
    40   function Show()
     40  function Show(): string
    4141  {
    4242    if (array_key_exists('Action', $_GET))
Note: See TracChangeset for help on using the changeset viewer.