mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
Moved vocabulary to Alchemy namespace
This commit is contained in:
@@ -185,7 +185,7 @@ class databox_field implements cache_cacheableInterface
|
||||
|
||||
try
|
||||
{
|
||||
$this->Vocabulary = databox_Field_VocabularyControl::get($row['VocabularyControlType']);
|
||||
$this->Vocabulary = \Alchemy\Phrasea\Vocabulary\Controller::get($row['VocabularyControlType']);
|
||||
$this->VocabularyRestriction = !!$row['RestrictToVocabularyControl'];
|
||||
}
|
||||
catch (Exception $e)
|
||||
@@ -498,7 +498,7 @@ class databox_field implements cache_cacheableInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function setVocabularyControl(databox_Field_VocabularyControl_Interface $vocabulary = null)
|
||||
public function setVocabularyControl(\Alchemy\Phrasea\Vocabulary\ControlProvider\ControlProviderInterface $vocabulary = null)
|
||||
{
|
||||
$this->Vocabulary = $vocabulary;
|
||||
|
||||
|
Reference in New Issue
Block a user