... | ... | @@ -75,4 +75,22 @@ class MyImportProvider extends \QUI\CmsImport\AbstractImportProvider |
|
|
### Keeping entity IDs in QUIQQER
|
|
|
You may want to keep IDs from you source system in QUIQQER. For this purpose some ImportEntity classes implement `\QUI\CmsImport\Entities\CustomQuiqqerIdInterface` which allows to set a (unique) ID for the QUIQQER system.
|
|
|
|
|
|
IDs set in this way have to be of type `integer` and are usually restricted to `BIGINT(20)` in the QUIQQER database. |
|
|
\ No newline at end of file |
|
|
IDs set in this way have to be of type `integer` and are usually restricted to `BIGINT(20)` in the QUIQQER database.
|
|
|
|
|
|
## Registering as an ImportProvider
|
|
|
In the `package.xml` of your package you have to register the ImportProvider.
|
|
|
|
|
|
### Example
|
|
|
```xml
|
|
|
<quiqqer>
|
|
|
<package>
|
|
|
|
|
|
<!-- Other package.xml stuff ... -->
|
|
|
|
|
|
<provider>
|
|
|
<cms-import src="\QUI\CmsImport\Provider\MyProvider\ImportProvider"/>
|
|
|
</provider>
|
|
|
|
|
|
</package>
|
|
|
</quiqqer>
|
|
|
``` |
|
|
\ No newline at end of file |