Function __global->actionlog_linkage

Definitions

sources/actionlog.php

  • Try and make an action log entry into a proper link.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$actionlog_row array No No required parameter N/A N/A Action log row
$crop_length_a ?integer No No Null N/A N/A Crop length for parameter (null: no cropping)
$crop_length_b ?integer No No Null N/A N/A Crop length for parameter (null: no cropping)
$show_view_profile boolean No No True N/A N/A Show view profile links

Returns

  • Tuple: enhanced label, enhanced label that may be null, flags, map of followup URLs (null: could not construct a nice link)
  • Type: ?array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Try and make an action log entry into a proper link.
 *
 * @param  array $actionlog_row Action log row
 * @param  ?integer $crop_length_a Crop length for parameter (null: no cropping)
 * @param  ?integer $crop_length_b Crop length for parameter (null: no cropping)
 * @param  boolean $show_view_profile Show view profile links
 * @return ?array Tuple: enhanced label, enhanced label that may be null, flags, map of followup URLs (null: could not construct a nice link)
 */

function actionlog_linkage(array $actionlog_row, ?int $crop_length_a = null, ?int $crop_length_b = null, bool $show_view_profile = true) : ?array