AboutController   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 21
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getInvolvedAction() 0 9 1
A contactAction() 0 8 1
1
<?php
2
/**
3
 *
4
 * @copyright (c) 2013 phpBB Group
5
 * @license http://opensource.org/licenses/gpl-3.0.php GNU General Public License v3
6
 * @author MichaelC
7
 *
8
 */
9
10
namespace AppBundle\Controller;
11
12
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
13
14
class AboutController extends Controller
15
{
16
	public function getInvolvedAction()
17
	{
18
		$templateVariables = array(
19
			'FORUM_EVENTS'			=> '/community/search.php?keywords=%5BEVENT%5D&terms=all&fid%5B%5D=64&sc=1&sf=titleonly&sr=topics&sk=t&sd=d&st=0&ch=300&t=0&submit=Search',
20
			'TRANSLATIONS_APPLY'	=> '/languages/apply.php',
21
		);
22
23
		return $this->render('AppBundle:About:getInvolved.html.twig', $templateVariables);
24
	}
25
26
	public function contactAction()
27
	{
28
		$templateVariables = array(
29
			'ICON_POST_REPORT'	=> '/community/styles/prosilver/imageset/icon_post_report.gif',
30
		);
31
32
		return $this->render('AppBundle:About:contact.html.twig', $templateVariables);
33
	}
34
}
35