view_space (line 28)
Get the tempcode for a view space page. (a view space shows a single entry, with the field name for each field to the left of the value)
tempcode
view_space
(tempcode $title, array $fields)
-
tempcode
$title: The title of the view space; should be out of get_page_title
-
array
$fields: An array of mappings between title and value (each mapping being a field)
view_space_field (line 55)
Get the tempcode for a view space field.
tempcode
view_space_field
(mixed $name, mixed $value, [boolean $raw = false], [string $abbr = ''])
-
mixed
$name: The field title (Tempcode or string). Assumed unescaped.
-
mixed
$value: The field value (Tempcode or string). Assumed unescaped.
-
boolean
$raw: Whether the field should be shown as untitled... because it is an element of a subblock of raw rows
-
string
$abbr: Field abbreviation (blank: none)