Class

FormFieldRichTextEditor

Package: Builder\Form\field Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2018 11 16 Since: PHPBoost 3.0 - 2010 01 09 Contributor: Arnaud GENET elenwii@phpboost.com Contributor: mipel mipel@phpboost.com Located at: builder/form/field/FormFieldRichTextEditor.class.php

This class represents a rich text editor.

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

Constructs a rich text edit field. In addition to the parameters of the FormMultiLineEdit ones, there is the formatter which is an instance of the ContentFormattingFactory which ensures the formatting. The default value corresponds to the user's default configuration and will be the one to use 99% of the time.

public string
# display( )
public mixed
# get_value( )
public
# set_value( string $value )

Sets the value

public
public
# retrieve_value( )

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

protected