Function __global->form_input_list_group

Definitions

sources/templates.php

  • Get the Tempcode for a group of list entry. May be attached directly to form_input_list_entry (i.e. this is a group node in a shared tree), and also fed into form_input_list.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$title mixed No No required parameter N/A N/A The title for the group
$entries Tempcode No No required parameter N/A N/A List entries for group

Returns

  • The group
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the Tempcode for a group of list entry. May be attached directly to form_input_list_entry (i.e. this is a group node in a shared tree), and also fed into form_input_list.
 *
 * @param  mixed $title The title for the group
 * @param  Tempcode $entries List entries for group
 * @return Tempcode The group
 */

function form_input_list_group($title, object $entries) : object