Completed
Push — master ( f81666...55a9f3 )
by Alexey
05:42
created

Action::groupAction()   A

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 3
1
<?php
2
3
/**
4
 * Data manager action
5
 *
6
 * @author Alexey Krupskiy <[email protected]>
7
 * @link http://inji.ru/
8
 * @copyright 2016 Alexey Krupskiy
9
 * @license https://github.com/injitools/cms-Inji/blob/master/LICENSE
10
 */
11
12
namespace Ui\DataManager;
13
14
class Action extends \Object
15
{
16
    public static $name = '';
17
    public static $groupAction = false;
18
    public static $rowAction = false;
19
20
    public static function rowButton($dataManager, $item, $params, $actionParams)
21
    {
22
        return '';
23
    }
24
25
    public static function groupAction($dataManager, $ids, $actionParams)
1 ignored issue
show
Unused Code introduced by
The parameter $actionParams is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
26
    {
27
        return 'empty action';
28
    }
29
30
}
31