Function Hook_import_phpbb3->fix_links

Definitions

sources/hooks/modules/admin_import/phpbb3.php

  • Convert phpBB URLs pasted in text fields into software ones.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$post string required parameter N/A N/A The text field text (e.g. a post)
$uid string required parameter N/A N/A Bbcode uid
$db object required parameter N/A N/A The database connector to import from
$table_prefix string required parameter N/A N/A The table prefix the target prefix is using
$post_id ?AUTO_LINK Null N/A N/A The ID of the post/message being imported (null: attachments not supported)
$is_pm boolean False N/A N/A Whether it is a personal message

Return

  • The new text field text
  • Type: string
  • Set: N/A
  • Range: N/A