1 | <?php |
||
8 | class GravityView_Field_Post_ID extends GravityView_Field { |
||
9 | |||
10 | var $name = 'post_id'; |
||
11 | |||
12 | var $label = 'Post ID'; |
||
13 | |||
14 | var $search_operators = array( 'is', 'isnot', 'greater_than', 'less_than' ); |
||
15 | |||
16 | /** |
||
17 | * GravityView_Field_Post_ID constructor. |
||
18 | */ |
||
19 | public function __construct() { |
||
23 | |||
24 | function field_options( $field_options, $template_id, $field_id, $context, $input_type ) { |
||
30 | |||
31 | } |
||
32 | |||
34 |
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.