eZ\Publish\Core\Repository\Values\ContentType\FieldDefinition::getName PHP 메소드

getName() 공개 메소드

This method returns the name of the field in the given language.
public getName ( string $languageCode ) : string
$languageCode string
리턴 string the name for the given language or null if none exists.
    public function getName($languageCode)
    {
        if (array_key_exists($languageCode, $this->names)) {
            return $this->names[$languageCode];
        }
        return null;
    }