Function Hook_import_mybb->import_cns_forums
Definitions
sources/hooks/modules/admin_import/mybb.php
- Standard import function.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $db | object | No | No | required parameter | N/A | N/A | The database connector to import from |
| $table_prefix | string | No | No | required parameter | N/A | N/A | The table prefix the target prefix is using |
| $old_base_dir | PATH | No | No | required parameter | N/A | N/A | The base directory we are importing from |
Preview
Code (PHP)
/**
* Standard import function.
*
* @param object $db The database connector to import from
* @param string $table_prefix The table prefix the target prefix is using
* @param PATH $old_base_dir The base directory we are importing from
*/
public function import_cns_forums(object $db, string $table_prefix, string $old_base_dir)
* Standard import function.
*
* @param object $db The database connector to import from
* @param string $table_prefix The table prefix the target prefix is using
* @param PATH $old_base_dir The base directory we are importing from
*/
public function import_cns_forums(object $db, string $table_prefix, string $old_base_dir)

