Function Hook_import_cms_merge->_import_content_reviews
Definitions
sources/hooks/modules/admin_import/cms_merge.php
- Import content review schedules.
- Visibility: protected
- 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 |
| $content_type | ID_TEXT | No | No | required parameter | N/A | N/A | The content type |
| $import_type | ?ID_TEXT | No | No | required parameter | N/A | N/A | The import type to get remapping from (null: no remapping) |
Preview
Code (PHP)
/**
* Import content review schedules.
*
* @param object $db The database connector to import from
* @param string $table_prefix The table prefix the target prefix is using
* @param ID_TEXT $content_type The content type
* @param ?ID_TEXT $import_type The import type to get remapping from (null: no remapping)
*/
protected function _import_content_reviews(object $db, string $table_prefix, string $content_type, ?string $import_type)
* Import content review schedules.
*
* @param object $db The database connector to import from
* @param string $table_prefix The table prefix the target prefix is using
* @param ID_TEXT $content_type The content type
* @param ?ID_TEXT $import_type The import type to get remapping from (null: no remapping)
*/
protected function _import_content_reviews(object $db, string $table_prefix, string $content_type, ?string $import_type)

