| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | trait FormTrait |
||
| 13 | { |
||
| 14 | public $misc; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Prints inputs for action, table and submit/cancel buttons. |
||
| 18 | * |
||
| 19 | * @param string $action value for action input |
||
| 20 | * @param string $table value for table input |
||
| 21 | * @param string $add text for add button |
||
| 22 | * @param string $cancel text for cancel button |
||
| 23 | */ |
||
| 24 | public function getActionTableAndButtons($action, $table, $add, $cancel) |
||
| 35 |