| 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 | /** @var bool */ |
||
| 21 | protected $trigger_error = true; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $u_action |
||
| 25 | * @return void |
||
| 26 | */ |
||
| 27 | 1 | protected function redirect($u_action) |
|
| 31 | |||
| 32 | /** |
||
| 33 | * @param int $time |
||
| 34 | * @param string $u_action |
||
| 35 | * @return void |
||
| 36 | */ |
||
| 37 | 2 | protected function meta_refresh($time, $u_action) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @param string $message |
||
| 44 | * @param string $u_action |
||
| 45 | * @param int $errno |
||
| 46 | * @return void |
||
| 47 | */ |
||
| 48 | 3 | protected function trigger_error($message, $u_action = '', $errno = E_USER_WARNING) |
|
| 53 | } |
||
| 54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.