GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
Main Page
Related Pages
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
$
_
a
b
c
d
e
f
g
h
i
l
m
n
o
r
s
t
u
v
w
+
Files
File List
+
Globals
+
All
$
_
b
c
e
f
g
h
i
r
s
t
+
Functions
_
g
h
r
t
+
Variables
$
_
b
c
e
f
g
i
r
s
•
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
templates
deprecated
fields
section.php
Go to the documentation of this file.
1
<?php
2
/**
3
* Display the Section field type
4
*
5
* @package GravityView
6
* @subpackage GravityView/templates/fields
7
*/
8
9
$gravityview_view
=
GravityView_View::getInstance
();
10
11
extract(
$gravityview_view
->getCurrentField() );
12
13
// Tell the renderer not to wrap this field in an anchor tag.
14
$gravityview_view
->setCurrentFieldSetting(
'show_as_link'
,
false
);
15
16
if
( !empty(
$field
[
'description'
] ) ) {
17
echo
GravityView_API::replace_variables
(
$field
[
'description'
],
$form
,
$entry
);
18
}
GravityView_View\getInstance
static getInstance( $passed_post=NULL)
Definition:
class-template.php:195
GV\$form
if(gravityview() ->plugin->is_GF_25()) $form
Definition:
class-gv-settings-plugin.php:526
$gravityview_view
$gravityview_view
Definition:
section.php:9
$field
$field
Definition:
search-field-chainedselect.php:29
GravityView_API\replace_variables
static replace_variables( $text, $form=array(), $entry=array(), $url_encode=false, $esc_html=true, $nl2br=true, $format='html', $aux_data=array())
Alias for GravityView_Merge_Tags::replace_variables()
Definition:
class-api.php:118
$entry
$entry
Definition:
notes.php:27