SizeStyle
class SizeStyle extends Style (View source)
Properties
| protected string | $name | The name of this style.  | 
                from Style | 
| protected string | $variable | The name of the associated CSS variable.  | 
                from Style | 
Methods
No description
Get the type handle of a given Style instance.
Get the display name for this style (localized and escaped accordingly to $format).
Get a path to an elements directory for this Style. Might not be used by all styles.
No description
Details
        
                            
    render(Value|null|false $value = false)
        
    
    No description
        
                            Value|null
    getValueFromRequest(ParameterBag $request)
        
    
    No description
        in 
Style at line 57
                            Value|null
    getValueFromList(ValueList $list)
        
    
    Get the value of this style extracted from a list of values.
        in 
Style at line 75
                static    protected        string
    getTypeFromClass(Style|object $class, string $suffix = 'Style')
        
    
    Get the type handle of a given Style instance.
        in 
Style at line 91
                            $this
    setName(string $name)
        
    
    Set the name of this style.
        in 
Style at line 103
                            string
    getName()
        
    
    Get the name of this style.
        in 
Style at line 117
                            string
    getDisplayName(string $format = 'html')
        
    
    Get the display name for this style (localized and escaped accordingly to $format).
        in 
Style at line 136
                            $this
    setVariable(string $variable)
        
    
    Set the name of the associated CSS variable.
        in 
Style at line 148
                            string
    getVariable()
        
    
    Get the name of the associated CSS variable.
        in 
Style at line 158
                            string
    getFormElementPath()
        
    
    Get a path to an elements directory for this Style. Might not be used by all styles.
        
                static            Value[]
    getValuesFromVariables(mixed $rules = [])
        
    
    No description
        
                static            SizeValue|null
    parse(Less_Tree_Dimension|mixed $value, string|null|false $variable = false)
        
    
    Extract a size value from a Less node.