This class represents a field of a content object.
Properties¶
                 $fieldDefIdentifier
            ¶
        $fieldDefIdentifier
            ¶
    
        
        Field.php
                :
        39
                 
    
        The field definition identifier.
|  |  | 
                 $fieldTypeIdentifier
            ¶
        $fieldTypeIdentifier
            ¶
    
        
        Field.php
                :
        60
                 
    
        Field type identifier.
|  |  | 
                 $id
            ¶
        $id
            ¶
    
        
        Field.php
                :
        32
                 
    
        The field id.
|  |  | 
Value of null indicates the field is virtual
and is not persisted (yet).
                 $languageCode
            ¶
        $languageCode
            ¶
    
        
        Field.php
                :
        53
                 
    
        the language code.
|  |  | 
                 $value
            ¶
        $value
            ¶
    
        
        Field.php
                :
        46
                 
    
        A field type value or a value type which can be converted by the corresponding field type.
|  |  | 
Methods¶
                 __construct()
            ¶
__construct()
            ¶
    
        
        ValueObject.php
                :
        31
                 
    
        Construct object optionally with a set of properties.
|  |  | 
Readonly properties values must be set using $properties as they aren't writable anymore
after object has been created.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $properties | array<string, mixed> | [] | - | 
                 getFieldDefinitionIdentifier()
            ¶
getFieldDefinitionIdentifier()
            ¶
    
        
        Field.php
                :
        67
                 
    
        |  |  | 
Return values
string
                 getFieldTypeIdentifier()
            ¶
getFieldTypeIdentifier()
            ¶
    
        
        Field.php
                :
        85
                 
    
        |  |  | 
Return values
string
                 getId()
            ¶
getId()
            ¶
    
        
        Field.php
                :
        62
                 
    
        |  |  | 
Return values
int|null
                 getLanguageCode()
            ¶
getLanguageCode()
            ¶
    
        
        Field.php
                :
        80
                 
    
        |  |  | 
Return values
string|null
                 getValue()
            ¶
getValue()
            ¶
    
        
        Field.php
                :
        75
                 
    
        |  |  | 
                 isVirtual()
            ¶
isVirtual()
            ¶
    
        
        Field.php
                :
        93
                 
    
        |  |  | 
Return values
bool
                 getProperties()
            ¶
getProperties()
            ¶
    
        
        ValueObject.php
                :
        54
                 
    
        Returns list of available properties' names.
|  |  | 
Override to add dynamic properties.
Parameters
| Name | Type | Default value | Description | 
|---|---|---|---|
| $dynamicProperties | array<int, string> | [] | Additional dynamic properties exposed on the object | 
Return values
array<int, string>