GV\Entry_Table_Template
The Entry Table Template class .
Renders a \GV\Entry using a \GV\Entry_Renderer.
Source: future/includes/class-gv-template-entry-table.php:14
Details
- Kind:
class - Namespace:
GV - Extends:
Entry_Template
Properties
| Property | Type | Description |
|---|---|---|
$slug | string | The template slug to be loaded (like "table", "list") |
Methods
| Method | Description |
|---|---|
the_field() | Output a field cell. |
the_entry() | Out the single entry table body. |
Method Reference
the_field()
public function the_field( \GV\Field $field, ?Entry $entry=null )
Output a field cell.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$field | \GV\Field | The field to be ouput. | |
$entry | ?Entry | null |
Returns
string|false— The field output or false if "hide_empty" is set.
Source: future/includes/class-gv-template-entry-table.php:27
the_entry()
public function the_entry()
Out the single entry table body.
Returns
void
Source: future/includes/class-gv-template-entry-table.php:45