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

FrontController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 13
ccs 0
cts 8
cp 0
rs 10
c 1
b 0
f 0
wmc 2
lcom 1
cbo 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A doHeader() 0 4 1
A doFooter() 0 4 1
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