This class represents a language in the repository.
Constants¶
                 ALL        ¶
ALL        ¶
    
        
        Language.php
                :
        26
                 
    
        Constant for use in API's to specify that you want to load all languages.
|  |  | 
Properties¶
                 $enabled
            ¶
        $enabled
            ¶
    
        
        Language.php
                :
        46
                 
    
        |  |  | 
                 $id
            ¶
        $id
            ¶
    
        
        Language.php
                :
        33
                 
    
        The language id (auto generated).
|  |  | 
                 $languageCode
            ¶
        $languageCode
            ¶
    
        
        Language.php
                :
        36
                 
    
        |  |  | 
                 $name
            ¶
        $name
            ¶
    
        
        Language.php
                :
        43
                 
    
        Human-readable name of the language.
|  |  | 
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> | [] | - | 
                 getId()
            ¶
getId()
            ¶
    
        
        Language.php
                :
        48
                 
    
        |  |  | 
Return values
int
                 getLanguageCode()
            ¶
getLanguageCode()
            ¶
    
        
        Language.php
                :
        53
                 
    
        |  |  | 
Return values
string
                 getName()
            ¶
getName()
            ¶
    
        
        Language.php
                :
        58
                 
    
        |  |  | 
Return values
string
                 isEnabled()
            ¶
isEnabled()
            ¶
    
        
        Language.php
                :
        63
                 
    
        |  |  | 
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>