Completed
Pull Request — master (#543)
by
unknown
09:12
created

FrontController::doHeader()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
ccs 0
cts 4
cp 0
crap 2
rs 10
c 1
b 0
f 0
1
<?php
2
/*
3
 You may not change or alter any portion of this comment or credits
4
 of supporting developers from this source code or any supporting source code
5
 which is considered copyrighted (c) material of the original comment or credit authors.
6
7
 This program is distributed in the hope that it will be useful,
8
 but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
namespace Xoops\Core\Controller;
13
14
/**
15
 * XOOPS FrontController
16
 *
17
 * See the enclosed file license.txt for licensing information. If you did not
18
 * receive this file, get it at GNU http://www.gnu.org/licenses/gpl-2.0.html
19
 *
20
 * @copyright       XOOPS Project (http://xoops.org)
21
 * @license         GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
22
 * @package         core
23
 * @since           2.0.0
24
 * @author          Alain091
25
 */
26
27
class FrontController extends AbstractController
28
{
29
	
30
	public function doHeader()
31
	{
32
	    $this->xoops->header($this->template);
33
	}
34
35
	public function doFooter()
36
	{
37
	    $this->xoops->footer();
38
	}
39
}
40