-
Notifications
You must be signed in to change notification settings - Fork 0
/
Extension.php
51 lines (43 loc) · 969 Bytes
/
Extension.php
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
46
47
48
49
50
51
<?php
/**
* _ __ __ _____ _____ ___ ____ _____
* | | / // // ___//_ _// || __||_ _|
* | |/ // /(__ ) / / / /| || | | |
* |___//_//____/ /_/ /_/ |_||_| |_|
* @link https://vistart.name/
* @copyright Copyright (c) 2016 vistart
* @license https://vistart.name/license/
*/
namespace rhoone\task;
use Yii;
/**
* Description of Extension
*
* @author vistart <i@vistart.name>
*/
class Extension extends \rhoone\extension\Extension
{
public static function id()
{
return "task";
}
public static function name()
{
return "Task";
}
public function search($keywords)
{
return Yii::$app->runAction('/rhoone-task/task/list');
}
public static function getDictionary()
{
return new Dictionary();
}
public static function getModule()
{
return [
'class' => Module::className(),
'id' => 'rhoone-task',
];
}
}