← All changes
|
classes/views/frm-fields/back-end/product-single-option.php
+17
-0
6.30
→
trunk
View file →
| @@ -1,5 +1,22 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Single product option row in field settings. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + * | |
| 7 | + * @var array $field Field data including 'id' and 'separate_value'. | |
| 8 | + * @var string $opt_key Option key. | |
| 9 | + * @var string $opt Option label. | |
| 10 | + * @var string $field_val Saved value for the option. | |
| 11 | + * @var string $html_id HTML id prefix for the row. | |
| 12 | + * @var string $field_name HTML name attribute for the input. | |
| 13 | + * @var string $default_type Input type (radio/checkbox). | |
| 14 | + * @var bool $checked Whether the option is checked. | |
| 15 | + * @var string $price Product price for the option. | |
| 16 | + * @var int $options_count Total number of options. | |
| 17 | + */ | |
| 18 | + | |
| 2 | 19 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 20 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 21 | } |
| 5 | 22 | ?> |