Function __global->breadcrumb_segments_to_tempcode

Definitions

sources/site.php

  • Convert breadcrumb segments to Tempcode breadcrumbs.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$segments array No No required parameter N/A N/A The segments in array format
&$link_to_self_entrypoint ?mixed Yes No Null N/A N/A Whether we'll be providing a link to where we are currently at (by reference, gets set to false in some circumstances) (null: don't save by reference)

Returns

  • The segments in Tempcode0
  • Type: Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert breadcrumb segments to Tempcode breadcrumbs.
 *
 * @param  array $segments The segments in array format
 * @param  ?mixed $link_to_self_entrypoint Whether we'll be providing a link to where we are currently at (by reference, gets set to false in some circumstances) (null: don't save by reference)
 * @return Tempcode The segments in Tempcode0
 */

function breadcrumb_segments_to_tempcode(array $segments, &$link_to_self_entrypoint = null) : object