Class

FormFieldTextEditor

Package: Builder\Form\field Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Regis VIARRE crowkait@phpboost.com Version: PHPBoost 5.2 - last update: 2018 06 03 Since: PHPBoost 2.0 - 2009 04 28 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Located at: builder/form/field/FormFieldTextEditor.class.php

This class manage single-line text fields.

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

Constructs a FormFieldTextEditor. It has these options in addition to the AbstractFormField ones:

  • size: The size (width) of the HTML field
  • maxlength: The maximum length for the field
public string
# display( )
protected
# compute_options( array & $field_options )
public mixed
# get_value( )
protected Template
Properties summary
protected string $type
# 'text'
protected integer $size
# 30
protected integer $maxlength
# 255