| 1 | <?php |
||
| 6 | class GravityView_Field_Post_Title extends GravityView_Field { |
||
| 7 | |||
| 8 | var $name = 'post_title'; |
||
| 9 | |||
| 10 | var $search_operators = array( 'is', 'isnot', 'contains', 'starts_with', 'ends_with' ); |
||
| 11 | |||
| 12 | var $_gf_field_class_name = 'GF_Field_Post_Title'; |
||
| 13 | |||
| 14 | var $group = 'post'; |
||
| 15 | |||
| 16 | function field_options( $field_options, $template_id, $field_id, $context, $input_type ) { |
||
| 28 | |||
| 29 | } |
||
| 30 | |||
| 32 |
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.