Tip
class Tip (View source)
Represents a Tip which can be rendered alongside a form field in the front-end.
See the Tip component in the silverstripe/admin module.
Constants
| IMPORTANCE_LEVELS | These map to levels in the front-end Tip component | 
| private DEFAULT_ICON | 
 | 
| private DEFAULT_IMPORTANCE_LEVEL | 
 | 
Methods
                    public                                                                            
                
                    __construct(string $message, string $importance_level = Tip::DEFAULT_IMPORTANCE_LEVEL, string $icon = Tip::DEFAULT_ICON)
        
                                            
                
            No description
Details
        
                            
    __construct(string $message, string $importance_level = Tip::DEFAULT_IMPORTANCE_LEVEL, string $icon = Tip::DEFAULT_ICON)
        
    
    No description
        
                            array
    getTipSchema()
        
    
    Outputs props to be passed to the front-end Tip component.
        
                            string
    getImportanceLevel()
        
    
    No description
        
                            Tip
    setImportanceLevel(string $importance_level)
        
    
    No description
        
                            string
    getIcon()
        
    
    No description
        
                            Tip
    setIcon(string $icon)
        
    
    No description
        
                            string
    getMessage()
        
    
    No description
        
                            Tip
    setMessage(string $message)
        
    
    No description