Concrete5::getStaticAssetsUrlBase()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/**
3
 * Jaeger
4
 *
5
 * @copyright	Copyright (c) 2015-2016, mithra62
6
 * @link		http://jaeger-app.com
7
 * @version		1.0
8
 * @filesource 	./Platforms/View/Concrete5.php
9
 */
10
namespace JaegerApp\Platforms\View;
11
12
/**
13
 * Jaeger - Concrete5 View Object
14
 *
15
 * Contains the view helpers for Concrete5
16
 *
17
 * @package Platforms\Concrete5
18
 * @author Eric Lamb <[email protected]>
19
 */
20
class Concrete5 extends AbstractView
21
{
22
    /**
23
     * The path to the partials directory
24
     * @var string
25
     */
26
    protected $partials_path = '';
27
    
28
    /**
29
     * The URL base to use for calling static assets in view partials
30
     * @var string
31
     */
32
    protected $static_assets_url_base = '';
33
    
34
    /**
35
     * Sets the static asset URL base
36
     * @param string $url_base
37
     * @return \mithra62\Platforms\View\Concrete5
38
     */
39
    public function setStaticAssetsUrlBase($url_base)
40
    {
41
        $this->static_assets_url_base = $url_base;
42
        return $this;
43
    }
44
    
45
    /**
46
     * Returns the static asset URL base
47
     * @return string
48
     */
49
    public function getStaticAssetsUrlBase()
50
    {
51
        return $this->static_assets_url_base;
52
    }
53
}