This repository was archived by the owner on Jun 2, 2025. It is now read-only.
Non-standad property attributes made flexible
Backward-incompatible changes:
- The
dict_valuestable has been removed. Theattributescolumn of typejsonbhas been added instead to thepropertiestable. - The
acdhOeaw\tokeneditorModel\Property::getValues()method has been removed. - The
acdhOeaw\tokeneditorModel\Property::getAttribute(attributeName)and theacdhOeaw\tokeneditorModel\Property::getAttributes()have been added. - All non-standard property attributes from the XML schema definition are now parsed into custom attributes dictionary (stored as a
jsonbin the database and available trough the API using above-mentioned acdhOeaw\tokeneditorModel\Property::getAttribute(attributeName)andacdhOeaw\tokeneditorModel\Property::getAttributes()` methods)
The change allows flexible adding of new property attributes without need to change the database structure nor the API.