27 if (mb_substr($fieldName, -10) ===
'_printable')
29 $fieldName = mb_substr($fieldName, 0, -10);
32 if ($objectName === static::DocumentField)
34 return [static::DocumentField, $fieldName];
36 elseif ($objectName ===
'Template' || $objectName === static::Parameter)
38 return [static::Parameter, $fieldName];
40 elseif ($objectName === static::Variable)
42 return [static::Variable, $fieldName];
44 elseif ($objectName === static::Constant)
46 return [static::Constant, $fieldName];
48 elseif ($objectName === static::GlobalConstant)
50 return [static::GlobalConstant, $fieldName];
52 elseif ($objectName === static::GlobalVariable)
54 return [static::GlobalVariable, $fieldName];
56 elseif (in_array($objectName, [
'Workflow',
'User', static::System]))
59 return [static::System, $objectName, $fieldName];
64 return [static::Activity, $objectName, $fieldName];