Moved some arrays to the Registry, and marked and updated deprecated class methods and values in the compiler.

This commit is contained in:
2022-09-10 10:16:44 +02:00
parent c5a85f167e
commit 1dddba0fc8
15 changed files with 340 additions and 1288 deletions

View File

@@ -191,7 +191,7 @@ class Builder extends Mapping
*/
protected function setField(&$view, &$field)
{
if ($fieldType = $this->getFieldType($field['fieldType']))
if ($fieldType = CFactory::_('Field.Type.Name')->get($field['fieldType']))
{
// set the field object
$object = new stdClass();