Message-ID: <1334099166.4140.1485857848261.JavaMail.confluence@ip-10-127-227-164> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_4139_1641182286.1485857848261" ------=_Part_4139_1641182286.1485857848261 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html TextLine Field Type

TextLine Field Type

=20
=20
=20
=20

This Field Type represents a simple string.

Name Internal name Expected input type
TextLine ezstring string

Description

This Field Type makes possible to store and retrieve a single line of un= formatted text. It is capable of handling up to 255 number of characters.

PHP API Field Type

Value object

Properties

The Value class of this Field Type contains the following properties:

Property Type Description
$text string This property will be used for the= text content.
String representation

A TextLine's string representation is the the $text property's value, as= a string.

Constructor

The constructor for this value object will initialize a new Value o= bject with the value provided. It accepts a string as argument and will imp= ort it to the text attribute.

Validation

The input passed into this filed type is subject of validation by the StringLengthValidator validator. The length of the string provid= ed must be between the minimum length defined in m= inStringLength and the maximum defined in maxStringLength. The default value for both propertie= s is 0, which means that the validation is disabled by default.
To set t= he validation properties the validateValidatorConfiguration() = method needs to be inspected, which will receive an array with minStringLength and max= StringLength like in the following representation:

=20
Array
(
    [minStringLength] =3D> 1
    [maxStringLength] =3D> 60
)
=20
=20
=20
=20
=20

 

=20
=20
=20
------=_Part_4139_1641182286.1485857848261--