Function BrokenURLScanner->find_table_content_edit_url

Definitions

sources/broken_urls.php

  • Find the URL to some content.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: object

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$table_name string No No required parameter N/A N/A Table
$id string No No required parameter N/A N/A ID
$key_fields array No No required parameter N/A N/A Key fields

Returns

  • Edit URL (null: none)
  • Type: ?Tempcode
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find the URL to some content.
 *
 * @param  string $table_name Table
 * @param  string $id ID
 * @param  array $key_fields Key fields
 * @return ?Tempcode Edit URL (null: none)
 */

protected function find_table_content_edit_url(string $table_name, string $id, array $key_fields) : ?object