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

Action   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 17
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A rowButton() 0 4 1
A groupAction() 0 4 1
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