From d77c77c03bba15ffb744303892e51206945496a7 Mon Sep 17 00:00:00 2001 From: Molkobain Date: Tue, 21 Jan 2020 17:20:12 +0100 Subject: [PATCH] PHPDoc --- application/nicewebpage.class.inc.php | 39 +++++++++++++-------------- setup/setuppage.class.inc.php | 38 ++++++++++++-------------- 2 files changed, 35 insertions(+), 42 deletions(-) diff --git a/application/nicewebpage.class.inc.php b/application/nicewebpage.class.inc.php index 279709578..71dbd8b0b 100644 --- a/application/nicewebpage.class.inc.php +++ b/application/nicewebpage.class.inc.php @@ -1,27 +1,20 @@ - - /** - * Class NiceWebPage + * Copyright (C) 2013-2020 Combodo SARL * - * @copyright Copyright (C) 2010-2016 Combodo SARL - * @license http://opensource.org/licenses/AGPL-3.0 + * This file is part of iTop. + * + * iTop is free software; you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * iTop is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License */ require_once(APPROOT."/application/webpage.class.inc.php"); @@ -257,6 +250,10 @@ EOF parent::output(); } + /** + * @throws \Exception + * @since 2.7.0 + */ protected function LoadTheme() { $sCssThemeUrl = ThemeHandler::GetDefaultThemeUrl(); diff --git a/setup/setuppage.class.inc.php b/setup/setuppage.class.inc.php index cd8f9eb66..a25ad3d23 100644 --- a/setup/setuppage.class.inc.php +++ b/setup/setuppage.class.inc.php @@ -1,27 +1,20 @@ - - /** - * Web page used for the setup + * Copyright (C) 2013-2020 Combodo SARL * - * @copyright Copyright (C) 2010-2012 Combodo SARL - * @license http://opensource.org/licenses/AGPL-3.0 + * This file is part of iTop. + * + * iTop is free software; you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * iTop is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License */ require_once(APPROOT.'/application/nicewebpage.class.inc.php'); @@ -183,6 +176,9 @@ class SetupPage extends NiceWebPage SetupLog::Ok($sText); } + /** + * @inheritDoc + */ protected function LoadTheme() { // Do nothing