blog   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 24
ccs 0
cts 11
cp 0
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A get_index_template() 0 3 1
A get_langname() 0 3 1
A get_name() 0 3 1
1
<?php
2
/**
3
 *
4
 * @package sitemaker
5
 * @copyright (c) 2013 Daniel A. (blitze)
6
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
7
 *
8
 */
9
10
namespace blitze\content\services\views\driver;
11
12
class blog extends base_view
13
{
14
	/**
15
	 * @inheritdoc
16
	 */
17
	public function get_name()
18
	{
19
		return 'blog';
20
	}
21
22
	/**
23
	 * @inheritdoc
24
	 */
25
	public function get_langname()
26
	{
27
		return 'CONTENT_DISPLAY_BLOG';
28
	}
29
30
	/**
31
	 * @inheritdoc
32
	 */
33
	public function get_index_template()
34
	{
35
		return 'views/blog.html';
36
	}
37
}
38