Function __global->import_check_if_imported
Definitions
sources/import.php
- Check to see if the given ID of the given type has been imported (if it has a mapping).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $type | ID_TEXT | No | No | required parameter | N/A | N/A | An importation type code, from those the software has defined |
| $id_old | string | No | No | required parameter | N/A | N/A | The source (old, original) ID of the mapping |
Returns
- Whether it has been imported
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Check to see if the given ID of the given type has been imported (if it has a mapping).
*
* @param ID_TEXT $type An importation type code, from those the software has defined
* @param string $id_old The source (old, original) ID of the mapping
* @return boolean Whether it has been imported
*/
function import_check_if_imported(string $type, string $id_old) : bool
* Check to see if the given ID of the given type has been imported (if it has a mapping).
*
* @param ID_TEXT $type An importation type code, from those the software has defined
* @param string $id_old The source (old, original) ID of the mapping
* @return boolean Whether it has been imported
*/
function import_check_if_imported(string $type, string $id_old) : bool

