src/CRUDlex/EntityDefinition.php
public function getSubTypeField($fieldName, $subType, $key)
    {

        if (!isset($this->fields[$fieldName][$subType][$key])) {
            return null;
        }

        return $this->fields[$fieldName][$subType][$key];
    }
public function getSubTypeField($fieldName, $subType, $key)
    {

        if (!isset($this->fields[$fieldName][$subType][$key])) {
            return null;
        }

        return $this->fields[$fieldName][$subType][$key];
    }
public function getSubTypeField ( $ fieldName , $ subType , $ key ) { if ( ! isset ( $ this -> fields [ $ fieldName ] [ $ subType ] [ $ key ] ) ) { return null ; } return $ this -> fields [ $ fieldName ] [ $ subType ] [ $ key ] ; }
Gets a sub field of an field.

@param string $fieldName
the field name of the sub type
@param string $subType
the sub type like "reference" or "many"
@param string $key
the key of the value

@return string
the value of the sub field
Gets a sub field of an field .