Style
abstract class Style (View source)
Properties
protected | $variable | ||
protected | $name |
Methods
render($value = false)
No description
getValueFromRequest(ParameterBag $request)
No description
static
getTypeFromClass($class, $suffix = 'Style')
No description
setName($name)
No description
getName()
No description
string
getDisplayName(string $format = 'html')
Returns the display name for this style (localized and escaped accordingly to $format)
setVariable($variable)
No description
getVariable()
No description
string
getFormElementPath()
Returns a path to an elements directory for this Style. Might not be used by all styles.
static Value[]
getValuesFromVariables(mixed $rules)
No description
Details
abstract
render($value = false)
No description
abstract
getValueFromRequest(ParameterBag $request)
No description
getValueFromList(ValueList $list)
No description
static protected
getTypeFromClass($class, $suffix = 'Style')
No description
setName($name)
No description
getName()
No description
string
getDisplayName(string $format = 'html')
Returns the display name for this style (localized and escaped accordingly to $format)
setVariable($variable)
No description
getVariable()
No description
string
getFormElementPath()
Returns a path to an elements directory for this Style. Might not be used by all styles.
static Value[]
getValuesFromVariables(mixed $rules)
No description