1 | <?php |
||
9 | class GravityView_Field_Payment_Amount extends GravityView_Field { |
||
10 | |||
11 | var $name = 'payment_amount'; |
||
12 | |||
13 | var $is_searchable = true; |
||
14 | |||
15 | var $is_numeric = true; |
||
16 | |||
17 | var $search_operators = array( 'is', 'isnot', 'greater_than', 'less_than', 'contains' ); |
||
18 | |||
19 | var $group = 'pricing'; |
||
20 | |||
21 | var $_custom_merge_tag = 'payment_amount'; |
||
22 | |||
23 | /** |
||
24 | * GravityView_Field_Payment_Amount constructor. |
||
25 | */ |
||
26 | public function __construct() { |
||
30 | |||
31 | /** |
||
32 | * Add {payment_amount} merge tag |
||
33 | * |
||
34 | * @since 1.16 |
||
35 | ** |
||
36 | * @param array $matches Array of Merge Tag matches found in text by preg_match_all |
||
37 | * @param string $text Text to replace |
||
38 | * @param array $form Gravity Forms form array |
||
39 | * @param array $entry Entry array |
||
40 | * @param bool $url_encode Whether to URL-encode output |
||
41 | * |
||
42 | * @return string Original text if {date_created} isn't found. Otherwise, replaced text. |
||
43 | */ |
||
44 | public function replace_merge_tag( $matches = array(), $text = '', $form = array(), $entry = array(), $url_encode = false, $esc_html = false ) { |
||
64 | } |
||
65 | |||
67 |
This check looks for access to properties that are not accessible from the current context.
If you need to make a property accessible to another context you can either raise its visibility level or provide an accessible getter in the defining class.