Function Hook_change_detection_tickets->run

Definitions

sources/hooks/systems/change_detection/tickets.php

  • Run function for change_detection hooks. They see if their own something has changed in comparison to sample data.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$data string No No required parameter N/A N/A The sample data, serialised and then MD5'd

Returns

  • Whether the something has changed
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Run function for change_detection hooks. They see if their own something has changed in comparison to sample data.
 *
 * @param  string $data The sample data, serialised and then MD5'd
 * @return boolean Whether the something has changed
 */

public function run(string $data) : bool