tao-test/app/generis/config/default/ontology.conf.php

15 lines
650 B
PHP
Raw Permalink Normal View History

2022-08-29 20:14:13 +02:00
<?php
use core_kernel_persistence_smoothsql_SmoothModel as SmoothModel;
use oat\generis\model\kernel\persistence\smoothsql\search\ComplexSearchService;
return new \core_kernel_persistence_smoothsql_SmoothModel([
SmoothModel::OPTION_PERSISTENCE => 'default',
SmoothModel::OPTION_READABLE_MODELS =>
[SmoothModel::DEFAULT_WRITABLE_MODEL, SmoothModel::DEFAULT_READ_ONLY_MODEL],
SmoothModel::OPTION_WRITEABLE_MODELS =>
[SmoothModel::DEFAULT_WRITABLE_MODEL],
SmoothModel::OPTION_NEW_TRIPLE_MODEL =>
SmoothModel::DEFAULT_WRITABLE_MODEL,
SmoothModel::OPTION_SEARCH_SERVICE => ComplexSearchService::SERVICE_ID
]);