} // create path $parents = $node->attribute('path'); $path = array(); foreach ($parents as $parent) { $path[] = array('text' => $parent->attribute('name'), 'url' => '/content/view/full/' . $parent->attribute('node_id'), 'url_alias' => $parent->attribute('url_alias'), 'node_id' => $parent->attribute('node_id')); } $titlePath = $path; $path[] = array('text' => $object->attribute('name'), 'url' => false, 'url_alias' => false, 'node_id' => $node->attribute('node_id')); $titlePath[] = array('text' => $title, 'url' => false, 'url_alias' => false); $Result['path'] = $path; $Result['title_path'] = $titlePath; return $Result; } if (!$collection) { $collection = eZInformationCollection::create($ObjectID, eZInformationCollection::currentUserIdentifier()); $collection->store(); $newCollection = true; } else { $collection->setAttribute('modified', time()); } // Check every attribute if it's supposed to collect information $attributeDataBaseName = 'ContentObjectAttribute'; $unvalidatedAttributes = array(); $canCollect = true; $requireFixup = false; foreach (array_keys($contentObjectAttributes) as $key) { $contentObjectAttribute = $contentObjectAttributes[$key]; $contentClassAttribute = $contentObjectAttribute->contentClassAttribute(); if ($contentClassAttribute->attribute('is_information_collector')) { $inputParameters = null;