StyleSet
class StyleSet (View source)
Methods
                    static StyleSet
                
                
                
            
                    static string|null
                
                
                    sanitizeCssClasses(array $cssClasses)
        
                                            
                
            No description
                    static StyleSet|null
                
                
                    populateFromRequest(Request $request)
        
                                            
                
            If the request contains any fields that are valid to save as a style set, we return the style set object pre-save. If it's not (e.g. there's a background repeat but no actual background image, empty strings, etc...) then we return null.
Details
        
                static            StyleSet|null
    getByID(int $issID)
        
    
    Get a StyleSet entity given its ID.
        
                static            StyleSet
    import(SimpleXMLElement $node)
        
    
    Import a StyleSet entity from an XML node.
        
                static    protected        string|null
    sanitizeCssClasses(array $cssClasses)
        
    
    No description
        
                static            StyleSet|null
    populateFromRequest(Request $request)
        
    
    If the request contains any fields that are valid to save as a style set, we return the style set object pre-save. If it's not (e.g. there's a background repeat but no actual background image, empty strings, etc...) then we return null.