Text line
Summary
Stores a single line of unformatted text.Properties
Name | Internal name | Searchable | Information collector |
---|---|---|---|
Text line | ezstring | Yes. | Yes. |
Description
This datatype makes it possible to store and retrieve a single line of unformatted text. It is capable of handling up to 255 number of characters. The following screenshot shows the class edit interface for this datatype.
Class edit interface for the "Text line" datatype.
Default value
The "Default value" parameter makes it possible to set a default text. When the parameter is used and a new object is created, the contents of the attribute using this datatype will be preset to the given text. In the example above, the "Summary" attribute of new objects will be set to "The summary has not yet been added.".
Max string length
The "Max string length" parameter makes it possible to control the maximum number of characters that the input interface should allow. By default, this parameter is empty - which means that the system will allow the maximum number of characters (255). In the example above, the parameter is set to 64. This means that the input interface will not allow the storage of strings that exceed 64 characters.
Object attribute edit interface
The following screenshot shows the object attribute edit interface for this datatype.
Object attribute interface for the "Text line" datatype.
Raw output
The ".content" of an ezcontentobjectattribute object using this datatype returns a string containing the actual text.
Balazs Halasy (21/02/2005 2:44 pm)
Balazs Halasy (29/04/2005 1:06 pm)
Comments
There are no comments.