42 lines
1003 B
PHP
Executable File
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
|
|
}
|
|
}
|
|
?>
|