LinkDataFieldData
class LinkDataFieldData implements DataFieldDataInterface (View source)
Represents a link. Useful for linking to pages on your site, because the contents are run through the Concrete\Core\Editor\LinkAbstractor class, ensuring that if your site is migrated elsewhere the cached contents of the data field will translate to the new environment.
Properties
| protected int | $link | 
Methods
                    __construct(string $link = null)
        
                                            
                
            No description
                    void
                
                
                    setData($link)
        
                                            
                
            No description
                    __toString()
        
                                            
                
            No description
                    jsonSerialize()
        
                                            
                
            No description
                    denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])
        
                                            
                
            No description
Details
        
                            
    __construct(string $link = null)
        
    
    No description
        
                            void
    setData($link)
        
    
    No description
        
                            
    __toString()
        
    
    No description
        
                            
    jsonSerialize()
        
    
    No description
        
                            
    denormalize(DenormalizerInterface $denormalizer, $data, $format = null, array $context = [])
        
    
    No description