ValueList
class ValueList (View source)
Properties
protected int|null | $scvlID | The identifier of this value list instance. |
|
protected Value[] | $values | The list of values. |
Methods
int|null
getValueListID()
Get the identifier of this value list instance.
static ValueList
loadFromRequest(ParameterBag $request, StyleList $styles)
Extract the value list from a received data.
static
isValidFontPresetsFile($path)
No description
static ValueList
loadFromLessFile(string $file, string $urlroot = '')
Extract the value list from a LESS file.
save()
Persist this list of values.
$this
Details
int|null
getValueListID()
Get the identifier of this value list instance.
Value[]
getValues()
Get the list of values.
static ValueList
loadFromRequest(ParameterBag $request, StyleList $styles)
Extract the value list from a received data.
static private
isValidFontPresetsFile($path)
No description
static ValueList
loadFromLessFile(string $file, string $urlroot = '')
Extract the value list from a LESS file.
static ValueList|null
getByID(int $scvlID)
Get a value list from the database.
save()
Persist this list of values.
$this
addValue(Value $value)
Add a value.
$this
addValues(Value[]|Traversable $values)
Add a list of values.