DynamicEntry
class DynamicEntry extends LocalizedResource implements EntryInterface
Properties
| protected string[] | $availableLocales | List of codes for all the locales available in the space this resource belongs to. | from LocalizedResource | 
| protected SystemProperties | $sys | ||
| protected Client|null | $client | 
Methods
                    $this
                
                
                    setLocale(Locale|string $locale)
        
                                            
                Set the locale for this instance. All future calls to a getter will return the information for this locale.
from LocalizedResource
            
                    string|null
                
                
                from LocalizedResource
            
                    getId()
        
                                            
                
            No description
                    getRevision()
        
                                            
                
            No description
                    getUpdatedAt()
        
                                            
                
            No description
                    getCreatedAt()
        
                                            
                
            No description
                    getSpace()
        
                                            
                
            No description
                    getContentType()
        
                                            
                
            No description
                    mixed
                
                
                    __call(string $name, array $arguments)
        
                                            
                
            No description
                    jsonSerialize()
        
                                            
                
            No description
Details
        at         line 45
                            
    __construct(array $fields, SystemProperties $sys, Client $client = null)
        
    
    Entry constructor.
        in LocalizedResource at         line 55
                            $this
    setLocale(Locale|string $locale)
        
    
    Set the locale for this instance. All future calls to a getter will return the information for this locale.
        in LocalizedResource at         line 75
                            string
    getLocale()
        
    
    The locale code for the currently set locale.
        in LocalizedResource at         line 87
                    protected        string
    getLocaleFromInput(Locale|string|null $input = null)
        
    
    
        in LocalizedResource at         line 113
                    protected        string|null
    loopThroughFallbackChain(array $valueMap, string $localeCode, Space $space)
        
    
    
        at         line 55
                            
    getId()
        
    
    
        at         line 60
                            
    getRevision()
        
    
    
        at         line 65
                            
    getUpdatedAt()
        
    
    
        at         line 70
                            
    getCreatedAt()
        
    
    
        at         line 75
                            
    getSpace()
        
    
    
        at         line 80
                            
    getContentType()
        
    
    
        at         line 94
                            ResourceArray
    getReferences(Query $query = null)
        
    
    Gets all entries that contain links to the current one.
You can provide a Query object in order to set parameters such as locale, include, and sorting.