Function Hook_import_mybb->data_to_disk

Definitions

sources/hooks/modules/admin_import/mybb.php

  • Convert a MyBB database file to a software uploaded file (stored on disk).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$data string required parameter N/A N/A The file data
$filename string required parameter N/A N/A The optimal filename
$sections ID_TEXT required parameter N/A N/A The upload type (e.g. cns_photos)
$db object required parameter N/A N/A The database connector to import from
$table_prefix string Blank (empty string) N/A N/A The table prefix the target prefix is using
$output_filename string Blank (empty string) N/A N/A The filename to output to

Return

  • The URL
  • Type: URLPATH
  • Set: N/A
  • Range: N/A