mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 05:23:21 +00:00
PHRAS-3519_filesystem-atomic-move
WIP extend filesystem (no change yet)
This commit is contained in:
@@ -9,9 +9,10 @@ use Alchemy\Phrasea\SearchEngine\Elastic\Structure\Field;
|
||||
use Alchemy\Phrasea\SearchEngine\Elastic\Structure\Flag;
|
||||
use Alchemy\Phrasea\SearchEngine\Elastic\Structure\GlobalStructure;
|
||||
use Alchemy\Phrasea\SearchEngine\Elastic\Structure\MetadataHelper;
|
||||
// use Alchemy\Phrasea\Utilities\Stopwatch;
|
||||
use databox;
|
||||
|
||||
// use Alchemy\Phrasea\Utilities\Stopwatch;
|
||||
|
||||
class SearchEngineStructure
|
||||
{
|
||||
|
||||
@@ -27,6 +28,19 @@ class SearchEngineStructure
|
||||
$this->cache = $cache;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param databox[] $databoxes
|
||||
*/
|
||||
public function getGlobalStructureConflictsFromDataboxes(array $databoxes)
|
||||
{
|
||||
$fieldsByName = [];
|
||||
foreach ($databoxes as $databox) {
|
||||
foreach ($databox->get_meta_structure() as $fieldStructure) {
|
||||
$name = $fieldStructure->get_name();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param databox[] $databoxes
|
||||
*
|
||||
|
Reference in New Issue
Block a user