| 1 | <?php |
||
| 14 | class GravityView_Field_Number extends GravityView_Field { |
||
| 15 | |||
| 16 | var $name = 'number'; |
||
| 17 | |||
| 18 | var $search_operators = array( 'is', 'isnot', 'greater_than', 'less_than' ); |
||
| 19 | |||
| 20 | var $_gf_field_class_name = 'GF_Field_Number'; |
||
| 21 | |||
| 22 | var $group = 'standard'; |
||
| 23 | |||
| 24 | public function __construct() { |
||
| 28 | |||
| 29 | function field_options( $field_options, $template_id, $field_id, $context, $input_type ) { |
||
| 48 | |||
| 49 | } |
||
| 50 | |||
| 52 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.