1 | <?php |
||
6 | class FrmFieldOption { |
||
7 | |||
8 | /** |
||
9 | * @var string|int |
||
10 | * |
||
11 | * @since 2.03.05 |
||
12 | */ |
||
13 | protected $option_key; |
||
14 | |||
15 | /** |
||
16 | * @var string|array |
||
17 | * |
||
18 | * @since 2.03.05 |
||
19 | */ |
||
20 | protected $option; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | * @since 2.03.05 |
||
25 | */ |
||
26 | protected $saved_value = ''; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | * @since 2.03.05 |
||
31 | */ |
||
32 | protected $option_label = ''; |
||
33 | |||
34 | public function __construct( $option_key, $option, $args = array() ) { |
||
40 | |||
41 | /** |
||
42 | * Set the option label |
||
43 | * |
||
44 | * @since 2.03.05 |
||
45 | */ |
||
46 | private function set_option_label() { |
||
53 | |||
54 | /** |
||
55 | * Set the saved value |
||
56 | * |
||
57 | * @since 2.03.05 |
||
58 | */ |
||
59 | protected function set_saved_value() { |
||
62 | |||
63 | /** |
||
64 | * Print a single option |
||
65 | * |
||
66 | * @since 2.03.05 |
||
67 | * |
||
68 | * @param string $selected_value |
||
69 | * @param int $truncate |
||
70 | */ |
||
71 | public function print_single_option( $selected_value, $truncate ) { |
||
78 | |||
79 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.