ZipAssetsPlugin::getName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Craft;
4
5
/**
6
 * Zip Assets Plugin.
7
 *
8
 * Zips up given assets for download.
9
 *
10
 * @author    Bob Olde Hampsink <[email protected]>
11
 * @copyright Copyright (c) 2015, author
12
 * @license   http://buildwithcraft.com/license Craft License Agreement
13
 *
14
 * @link      http://github.com/boboldehampsink
15
 */
16
class ZipAssetsPlugin extends BasePlugin
17
{
18
    /**
19
     * Get plugin name.
20
     *
21
     * @return string
22
     */
23
    public function getName()
24
    {
25
        return Craft::t('Zip Assets');
26
    }
27
28
    /**
29
     * Get plugin version.
30
     *
31
     * @return string
32
     */
33
    public function getVersion()
34
    {
35
        return '1.5.0';
36
    }
37
38
    /**
39
     * Get plugin developer.
40
     *
41
     * @return string
42
     */
43
    public function getDeveloper()
44
    {
45
        return 'Bob Olde Hampsink';
46
    }
47
48
    /**
49
     * Get plugin developer url.
50
     *
51
     * @return string
52
     */
53
    public function getDeveloperUrl()
54
    {
55
        return 'http://www.itmundi.nl';
56
    }
57
}
58