strings
Allows to enter multiple text values into the single property.
The value of strings property type is array of text values.
The text type has additional optional parameter flag and items.
flag
Optional. Specifies the type of SiteSupra editor for editing text values.
Possible values for
flag are:
If flag is omitted 0 is assumed.
items
Required. Defines array of text values.
Example
<? $properties = Array( 'text' => Array( 'type' => 'strings', 'label' => 'Button captions', 'items' => Array( 'ok' => Array( 'label' => 'Ok button', 'help' => 'Ok button', 'value' => 'Ok' ), 'cancel' => Array( 'label' => 'Cancel button', 'value' => 'Cancel' ) ) ) ); ?>
|