This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
crispage-lite/patch/core/components/Crispage/Components/DefaultComponent.php
2023-12-07 14:07:15 -05:00

42 lines
1003 B
PHP
Executable File

<?php
/*
Crispage CMS
crispycat <the@crispy.cat>
https://crispy.cat/software/crispage
Crispage is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
*/
namespace Crispage\Components;
defined("ROOT") or die();
class DefaultComponent extends \Crispage\Response\Component
implements \Crispage\Response\ModuleComponent {
public static function getExtensionInfo(): array {
return [
"id" => "crispage.components.default",
"version" => VERSION,
"name" => "default",
"author" => "crispycat",
"description" => "The Crispage default module."
];
}
public static function getModuleFields(): array {
return [];
}
public function __construct(\Crispage $app, array $data) {
parent::__construct($app, $data);
}
public function render(): void {
// do nothing
}
}
?>