src/BackendIntegration/InputScreen/InputScreen.php
protected function translateProperty($property, $metaModel, $legend)
    {
        $attribute = $metaModel->getAttributeById($property['attr_id']);

        // Dead meat.
        if (!$attribute) {
            return false;
        }

        $propName = $attribute->getColName();

        $this->legends[$legend]['properties'][] = $propName;

        $this->properties[$propName] = array
        (
            'info'       => $attribute->getFieldDefinition($property),
        );

        return true;
    }
protected function translateProperty($property, $metaModel, $legend)
    {
        $attribute = $metaModel->getAttributeById($property['attr_id']);

        // Dead meat.
        if (!$attribute) {
            return false;
        }

        $propName = $attribute->getColName();

        $this->legends[$legend]['properties'][] = $propName;

        $this->properties[$propName] = array
        (
            'info'       => $attribute->getFieldDefinition($property),
        );

        return true;
    }
Translate a property.

@param array      $property  The property information to transform.

@param IMetaModel $metaModel The MetaModel the property belongs to.

@param string     $legend    The legend the property belongs to.

@return bool