1 | <?php |
||
14 | class Action extends \Object { |
||
15 | |||
16 | public static $name = ''; |
||
17 | public static $groupAction = false; |
||
18 | public static $rowAction = false; |
||
19 | public static $managerAction = false; |
||
20 | |||
21 | /** |
||
22 | * Must return button text for row in manager |
||
23 | * |
||
24 | * @param \Ui\DataManager $dataManager |
||
25 | * @param \Model $item |
||
26 | * @param array $params |
||
27 | * @param array $actionParams |
||
28 | * @return string |
||
29 | */ |
||
30 | public static function rowButton($dataManager, $item, $params, $actionParams) { |
||
33 | |||
34 | /** |
||
35 | * Must return button options array for manager actions |
||
36 | * |
||
37 | * @param \Ui\DataManager $dataManager |
||
38 | * @param array $formParams |
||
39 | * @param array $actionParams |
||
40 | * @return array |
||
41 | */ |
||
42 | public static function managerButton($dataManager, $formParams, $actionParams) { |
||
45 | |||
46 | /** |
||
47 | * Call if user choose rows and call action in manager. Return result msg. |
||
48 | * |
||
49 | * @param \Ui\DataManager $dataManager |
||
50 | * @param string $ids |
||
51 | * @param array $actionParams |
||
52 | * @param array $adInfo |
||
53 | * @return string |
||
54 | */ |
||
55 | public static function groupAction($dataManager, $ids, $actionParams, $adInfo) { |
||
58 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.