GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
includes
admin
field-types
type_hidden.php
Go to the documentation of this file.
1
<?php
2
/**
3
* text input type
4
*/
5
class
GravityView_FieldType_hidden
extends
GravityView_FieldType
{
6
7
function
render_option
() {
8
$this->
render_input
();
9
}
10
11
function
render_input
( $override_input = null ) {
12
13
if
( isset( $override_input ) ) {
14
echo $override_input;
15
return
;
16
}
17
18
$class
= !empty( $this->field[
'class'
] ) ? $this->field[
'class'
] :
'widefat'
;
19
20
?>
21
<input name=
"<?php echo esc_attr( $this->name ); ?>"
id
=
"<?php echo $this->get_field_id(); ?>"
type=
"hidden"
value=
"<?php echo esc_attr( $this->value ); ?>"
class
=
"<?php echo esc_attr( $class ); ?>"
/>
22
<?php
23
}
24
25
}
26
27
28
$class
$class
Definition:
entry_approval.php:24
GravityView_FieldType_hidden\render_input
render_input( $override_input=null)
Definition:
type_hidden.php:11
GravityView_FieldType_hidden\render_option
render_option()
Definition:
type_hidden.php:7
GravityView_FieldType
Modify option field type by extending this class.
Definition:
class.field.type.php:6
GravityView_FieldType_hidden
text input type
Definition:
type_hidden.php:5