| 1 | <?php |
||
| 14 | class GravityView_Field_Post_ID extends GravityView_Field { |
||
| 15 | |||
| 16 | var $name = 'post_id'; |
||
| 17 | |||
| 18 | var $search_operators = array( 'is', 'isnot', 'greater_than', 'less_than' ); |
||
| 19 | |||
| 20 | var $group = 'post'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * GravityView_Field_Post_ID constructor. |
||
| 24 | */ |
||
| 25 | public function __construct() { |
||
| 29 | |||
| 30 | function field_options( $field_options, $template_id, $field_id, $context, $input_type ) { |
||
| 36 | |||
| 37 | } |
||
| 38 | |||
| 40 |
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.