-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPlugin.php
More file actions
46 lines (36 loc) · 1019 Bytes
/
Copy pathPlugin.php
File metadata and controls
46 lines (36 loc) · 1019 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace Kanboard\Plugin\WeeklyRecurringTasks;
use Kanboard\Core\Plugin\Base;
use Kanboard\Core\Translator;
use Kanboard\Plugin\WeeklyRecurringTasks\Action\WeeklyRecurringTask;
class Plugin extends Base
{
public function initialize()
{
$this->actionManager->register(new WeeklyRecurringTask($this->container));
}
public function onStartup()
{
Translator::load($this->languageModel->getCurrentLanguage(), __DIR__.'/Locale');
}
public function getPluginName()
{
return 'Weekly Recurring Tasks';
}
public function getPluginDescription()
{
return t('Automatically Clone Kanboard Tasks with the DAILY/WEEKLY/BIWEEKLY/DAY-OF-WEEK-IN-CAPITAL tag.');
}
public function getPluginAuthor()
{
return 'Sebastien Diot';
}
public function getPluginVersion()
{
return '1.0.1';
}
public function getPluginHomepage()
{
return 'https://github.com/skunkiferous/WeeklyRecurringTasks';
}
}