Class

FormFieldRangeEditor

Package: Builder\Form\field Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Julien BRISWALTER j1.seth@phpboost.com Version: PHPBoost 5.2 - last update: 2018 06 03 Since: PHPBoost 4.1 - 2015 06 01 Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Located at: builder/form/field/FormFieldRangeEditor.class.php

This class manages a range of numbers (slider).

AbstractFormField implements FormField
Extended by FormFieldNumberEditor
Extended by FormFieldRangeEditor
Methods summary
public
# __construct( string $id, string $label, string $value, array $field_options = array(), array $constraints = array() )

Constructs a FormFieldRange.

public string
# display( )
protected
# compute_options( array & $field_options )
public true
# is_vertical( )

Tells whether the slider is vertical

public
# set_vertical( boolean $vertical )

Changes the fact that the field is vertical or not.

Properties summary
protected string $type
# 'range'