| Total Complexity | 6 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | abstract class action_utils |
||
| 13 | { |
||
| 14 | /** @var bool */ |
||
| 15 | protected $auto_refresh = true; |
||
| 16 | |||
| 17 | /** @var bool */ |
||
| 18 | protected $redirect = true; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $u_action |
||
| 22 | * @return void |
||
| 23 | */ |
||
| 24 | 1 | protected function redirect($u_action) |
|
| 27 | 1 | } |
|
| 28 | |||
| 29 | /** |
||
| 30 | * @param int $time |
||
| 31 | * @param string $u_action |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | 2 | protected function meta_refresh($time, $u_action) |
|
| 37 | 2 | } |
|
| 38 | |||
| 39 | /** |
||
| 40 | * @param string $message |
||
| 41 | * @param string $u_action |
||
| 42 | * @param int $errno |
||
| 43 | * @return void |
||
| 44 | */ |
||
| 45 | 4 | protected function trigger_error($message, $u_action = '', $errno = E_USER_NOTICE) |
|
| 51 |