Class

FormFieldMultipleFilePicker

Package: Builder\Form\field Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Kevin MASSY reidlos@phpboost.com Version: PHPBoost 5.2 - last update: 2018 11 19 Since: PHPBoost 3.0 - 2010 03 10 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Contributor: Sebastien LARTIGUE babsolune@phpboost.com Located at: builder/form/field/FormFieldMultipleFilePicker.class.php

This class manage multiple file input fields. It provides you additionnal field options :

  • size : The multiple size for the field
AbstractFormField implements FormField
Extended by FormFieldMultipleFilePicker
Methods summary
public
# __construct( string $id, string $label, array $field_options = array(), array $constraints = array() )

Constructs and set parameters to the field. The specific parameters of this abstract class (common with many fields) are the following:

  • description at which you must associate the description of the field
  • class which corresponds to the HTML class of the field
  • required which tells whether this field must be completed. If it's the case, it will display a * beside the label and will add a non empty constraint to the constraints.

None of these parameters is required.

public Template
# display( )
protected
# compute_options( array & $field_options )
public boolean
# validate( )

Validates the field by cheching if all the constraints are satisfied.

public
# retrieve_value( )

Tries to retrieve the value in the HTTP request's parameters.

protected Template
Annonces