TaskManagerPlugin::getDeveloper()   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 2
Metric Value
c 2
b 0
f 2
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Craft;
4
5
/**
6
 * Task Manager.
7
 *
8
 * @author    Bob Olde Hampsink <[email protected]>
9
 * @copyright Copyright (c) 2015, Bob Olde Hampsink
10
 * @license   MIT
11
 *
12
 * @link      http://github.com/boboldehampsink
13
 */
14
class TaskManagerPlugin extends BasePlugin
15
{
16
    /**
17
     * Get plugin name.
18
     *
19
     * @return string
20
     */
21
    public function getName()
22
    {
23
        return Craft::t('Task Manager');
24
    }
25
26
    /**
27
     * Get plugin description.
28
     *
29
     * @return string
30
     */
31
    public function getDescription()
32
    {
33
        return Craft::t('Adds a "Task Manager" section to your CP to easily cancel or delete Craft Tasks.');
34
    }
35
36
    /**
37
     * Get plugin version.
38
     *
39
     * @return string
40
     */
41
    public function getVersion()
42
    {
43
        return '0.4.1';
44
    }
45
46
    /**
47
     * Get plugin developer.
48
     *
49
     * @return string
50
     */
51
    public function getDeveloper()
52
    {
53
        return 'Bob Olde Hampsink';
54
    }
55
56
    /**
57
     * Get plugin developer url.
58
     *
59
     * @return string
60
     */
61
    public function getDeveloperUrl()
62
    {
63
        return 'https://github.com/boboldehampsink';
64
    }
65
66
    /**
67
     * Get plugin documentation url.
68
     *
69
     * @return string
70
     */
71
    public function getDocumentationUrl()
72
    {
73
        return 'https://github.com/boboldehampsink/taskmanager';
74
    }
75
76
    /**
77
     * Has Control Panel section.
78
     *
79
     * @return bool
80
     */
81
    public function hasCpSection()
82
    {
83
        return true;
84
    }
85
}
86