CalculatorPresenter::beforeRender()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Investform module for webcms2.
5
 * Copyright (c) @see LICENSE
6
 */
7
8
namespace AdminModule\InvestformModule;
9
10
use Nette\Forms\Form;
11
use WebCMS\InvestformModule\Common\PdfPrinter;
12
use WebCMS\InvestformModule\Common\EmailSender;
13
use WebCMS\InvestformModule\Entity\Address;
14
15
/**
16
 * Description of
17
 *
18
 * @author Tomas Voslar <[email protected]>
19
 */
20
class CalculatorPresenter extends BasePresenter
21
{
22
    protected function startup()
23
    {
24
    	parent::startup();
25
    }
26
27
    protected function beforeRender()
28
    {
29
	   parent::beforeRender();
30
31
       $this->forward('Investform:default', array(
32
            'idPage' => $this->actualPage->getId()
33
        ));
34
    }
35
}