9 if ( ! isset( $gravityview ) || empty( $gravityview->template ) ) {
10 gravityview()->log->error(
'{file} template loaded without context', array(
'file' => __FILE__ ) );
30 $format = apply_filters(
'gravityview/fields/list/column-format',
'text', $gravityview );
43 $glue = apply_filters(
'gravityview/template/field/csv/glue',
";", $gravityview );
46 if (
$field->enableColumns ) {
47 $columns = array_keys( current(
$value ) );
48 echo implode(
',', $columns ) .
$glue;
53 $output[] = is_array($column) ? implode(
',', $column ) : $column;
if(gv_empty( $field['value'], false, false)) $format
gravityview_get_input_id_from_id( $field_id='')
Very commonly needed: get the # of the input based on a full field ID.
if( $field->enableColumns) $output
gravityview()
The main GravityView wrapper function.
if(! isset( $gravityview)||empty( $gravityview->template)) $field_id
The default list field output template.
static column_value(GF_Field_List $field, $field_value, $column_id=0, $format='html')
Get the value of a Multiple Column List field for a specific column.