AbstractXmlView::render()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * An abstract XML View
5
 */
6
7
namespace FRUIT\GoogleServices\View;
8
9
use TYPO3\CMS\Fluid\View\TemplateView;
10
11
/**
12
 * An abstract XML View
13
 *
14
 * @api
15
 */
16
abstract class AbstractXmlView extends TemplateView
17
{
18
19
    /**
20
     * Render XML Content as single Output
21
     * 
22
     * @param string $actionName 
23
     */
24
    public function render($actionName = null)
25
    {
26
        $c = parent::render($actionName);
27
        header("Content-Type:text/xml");
28
        die($c);
29
    }
30
}
31