Checks whether a mapped field is inherited from a superclass.

@param string $fieldName

@return bool TRUE if the field is inherited, FALSE otherwise.
768594
public function isInheritedProperty($fieldName)
    {
        $declaringClass = $this->declaredProperties[$fieldName]->getDeclaringClass();

        return $declaringClass->className !== $this->className;
    }
653637
public function hasField($tableName, $fieldName)
    {
        if (!$this->hasTable($tableName)) {
            return false;
        }
        $fields = $this->fieldList($tableName);
        return array_key_exists($fieldName, $fields);
    }
198188
public function hasField(string $name) : bool
    {
        return isset($this->fields[$name]) && $this->fields[$name];
    }
1065248
public function isLocalizedField($fieldName)
    {
        $fields = self::get_localized_class_fields($this->ownerBaseClass);
        return in_array($fieldName, $fields);
    }
1115270
public function unsetField($fieldName)
    {
        if (!$this->has($fieldName)) {
            return $this;
        }

        parent::unsetField($fieldName);

        if ($this->getId()) {
            $this->operator->unsetField($fieldName);
        }

        return $this;
    }
771499
public function getHasConfigurationForField(string $tableName, string $fieldName) : bool
    {
        return isset($this->tca[$tableName]['columns'][$fieldName]);
    }
554151
private function mapFieldName($fieldName)
    {
        if (isset($this->fieldNameMapping[$fieldName])) {
            $fieldName = $this->fieldNameMapping[$fieldName];
        }

        return $fieldName;
    }
576396
public function getFieldType($fieldName)
    {
        if (!array_key_exists($fieldName, $this->_fields)) {
            throw new \Exception("Field name \"$fieldName\" not found in document.");
        }

        return $this->_fields[$fieldName]->getType ();
    }
856086
public function isIdentifier($fieldName)
    {
        if ( ! $this->identifier) {
            return false;
        }

        if ( ! $this->isIdentifierComposite) {
            return $fieldName === $this->identifier[0];
        }

        return in_array($fieldName, $this->identifier);
    }
483511
public function isNullable($fieldName)
    {
        $mapping = $this->getFieldMapping($fieldName);
        if ($mapping !== false) {
            return isset($mapping['nullable']) && $mapping['nullable'] == true;
        }
        return false;
    }
700906
public static function isFieldEditable($fieldName) {
		if( $fieldName == static::$IDFIELD ) {
			return false;
		}
		if( !is_null(static::$editableFields) ) {
			return in_array($fieldName, static::$editableFields);
		}
		if( method_exists(static::$validator, 'isFieldEditable') ) {
			return in_array($fieldName, static::$editableFields);
		}
		return in_array($fieldName, static::$fields);
	}
1357165
public function getProcessedField($fieldName)
    {
        if (!isset($this->fields[$fieldName])) {
            return false;
        }

        $field = $this->fields[$fieldName];

        $field['has_error'] = $this->fieldHasError($fieldName);

        return $this->typeHandler->makeView($field, $this->data, $this);
    }
218291
public function getInclude($fieldName)
    {
        if ($this->isInclude($fieldName) === false) {
            return false;
        }

        return $this->mapping[$fieldName]['include'];
    }
623981
private function hasField(EntityManager $em, $fieldName)
    {
        return (Boolean) $em->createNativeQuery(
            "SHOW FIELDS FROM usr WHERE Field = :field",
            (new ResultSetMapping())->addScalarResult('Field', 'Field')
        )->setParameter(':field', $fieldName)->getOneOrNullResult();
    }
501054
public function containsField($field)
    {
        $identifier = $field instanceof FieldInterface ? $field->getFieldElementName() : $field;
        foreach ($this->getList() as $error) {
            $field = $error->getField();
            if (is_object($field) && $field->getFieldElementName() == $identifier) {
                return true;
            }
        }

        return false;
    }
986060
public function hasField($objectName, $fieldName)
    {
        $field = $this->getField($objectName, $fieldName);

        return is_array($field);
    }
1123269
public function hasFieldOfType($fieldType)
    {
        foreach ($this->fields as $field) {
            if ($field['type'] == $fieldType) {
                return true;
            }
        }

        return false;
    }