Completed
Push — master ( 0a928b...54fdeb )
by Matt
22:47 queued 22:44
created

similar_topics_module::end()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 2
dl 0
loc 3
rs 10
1
<?php
2
/**
3
 *
4
 * Precise Similar Topics
5
 *
6
 * @copyright (c) 2013 Matt Friedman
7
 * @license GNU General Public License, version 2 (GPL-2.0)
8
 *
9
 */
10
11
namespace vse\similartopics\acp;
12
13
class similar_topics_module
14
{
15
	/** @var string */
16
	public $page_title;
17
18
	/** @var string */
19
	public $tpl_name;
20
21
	/** @var string */
22
	public $u_action;
23
24
	/**
25
	 * Main ACP module
26
	 *
27
	 * @access public
28
	 */
29
	public function main()
30
	{
31
		global $phpbb_container;
32
33
		$this->tpl_name = 'acp_similar_topics';
34
35
		$this->page_title = $phpbb_container->get('language')
36
			->lang('PST_TITLE_ACP');
37
38
		$phpbb_container->get('vse.similartopics.acp.controller')
39
			->set_u_action($this->u_action)
40
			->handle();
41
	}
42
}
43