Attribute settings: Currency

From CollectiveAccess Documentation
Jump to: navigation, search

[Valid for v1.6]

Accepts a currency value composed of a currency specifier and a decimal number.


The list (array) of attribute settings can be viewed in the application code at https://github.com/collectiveaccess/providence/blob/master/app/lib/ca/Attributes/Values/CurrencyAttributeValue.php.

Settings Description Default Values
minValue The minimum value allowed. Input less than the required value will be rejected. 0 (no minimum) Numeric
maxValue The maximum value allowed. Input greater than the required value will be rejected. 0 (no maximum) Numeric
fieldWidth Width, in characters, of the field when displayed in a user interface. 40 Integers greater then zero
fieldHeight Height, in characters, of the field when displayed in a user interface. 1 Integers greater then zero
doesNotTakeLocale Defines whether element takes locale specification. 1 (does not take locale specifications) 0 or 1
canBeUsedInSort Use this option if this attribute value can be used for sorting of search results. 1 (used in sort) 0 or 1
canBeUsedInSearchForm Use this option if the attribute value can be used in search forms. 1 (used in search forms) 0 or 1
canBeUsedInDisplay Use this option if the attribute value can be used for display in search results. 1 (used for display) 0 or 1
displayTemplate Layout for value when used in a display. Element code tags prefixed with the ^ character, used to represent the value in the template. For example: <i>^my_element_code</i>. HTML
displayDelimiter Delimiter to use between multiple values. ; (semicolon) Text
mustNotBeBlank Check this option if this attribute value must be set to some value - it must not be blank in other words. (The default is not to be.) 0 0 or 1
canMakePDF Check this option if this metadata element can be output as a printable PDF. (The default is not to be.) 0 0 or 1
CanMakePDFForValue Check this option if individual values for this metadata element can be output as a printable PDF. (The default is not to be.) 0 0 or 1

i_sphinx

Namespaces

Variants
Actions
Navigation
Tools
User
Personal tools