blog::get_index_template()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
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