Framework
3.9
|
Use Currency3 if you want to have 3 decimal places displayed. More...
Public Member Functions | |
Currency3FieldRenderer (&$parent) | |
Public Member Functions inherited from CurrencyFieldRenderer | |
CurrencyFieldRenderer (&$parent) | |
renderScript ($field) | |
FieldRenderers can override this method to provide any Javascript that their control requires for an edit form. More... | |
renderField ($field) | |
FieldRenderers must override this method to provide the HTML implementation of the control used to edit the field. More... | |
renderSearchField ($field, $mode="equal") | |
FieldRenderers must override this method to provide the HTML implementation of the control displayed for the field in a search form. More... | |
renderReadOnly ($field) | |
preProcess ($field="") | |
FieldRenderers can override this method to provide behavior that occurs prior to the saving of the parent form's target object to the database. More... | |
addValidatorsToForm ($field, $required=false) | |
This method is called by the AutoForm to add any default input validators that are required by the FieldRenderer. More... | |
renderOnSubmitHandler ($field) | |
FieldRenderers can override this method to provide any Javascript that must be executed when the form is submitted on the client. More... | |
format ($field) | |
Public Member Functions inherited from FieldRenderer | |
FieldRenderer ($parent) | |
Constructor. More... | |
_printLabel ($field, $colspan=1, $styles="", $annotation="") | |
Internal method to generate the HTML for the field label. More... | |
_getLabel ($field, $addSuffix=true) | |
_startField ($field, $styles="") | |
Internal method to generate the starting HTML for the field (including the label) More... | |
_endField ($field) | |
Internal method to generate the closing HTML for the field. More... | |
addSearchValidatorsToForm ($field, $mode, $required=false) | |
For SearchForm, the validator field needs to match the name tag in the form which is in the format field:mode. More... | |
formatName ($item, $name) | |
Formats the given DataItem based on the supplied format string. More... | |
renderSearchScript ($field, $mode) | |
FieldRenderers can override this method to provide any Javascript that the control requires when being used in a search form. More... | |
postProcess ($field="") | |
FieldRenderers can override this method to provide behavior that occurs after the parent form's target object has been saved to the database. More... | |
Additional Inherited Members | |
Public Attributes inherited from CurrencyFieldRenderer | |
$allowNegative = false | |
Whether user can enter a negative number. More... | |
$autocomplete = true | |
Whether the browser is allowed to show autocomplete for this field. More... | |
$disable = false | |
alternative to readonly; field can be reenabled thru javascript More... | |
$onChange = "" | |
optional javascript callback on data input change More... | |
$onKeyUp | |
optional javascript callback on key release within field More... | |
$template = 2 | |
how to format readonly - 2 decimal places More... | |
$size = 20 | |
size of the text field to be displayed (in characters) More... | |
$static = false | |
Render the field as a static (readonly) value, that is visible, non-editable and the value is submitted when the form is submitted. More... | |
Public Attributes inherited from FieldRenderer | |
$parent = null | |
$labelSuffix = "" | |
$colspan = 1 | |
$annotateBefore = false | |
$annotateNextLine = true | |
$hideLabel = false | |
$onPreProcess = null | |
callback hook for processing prior to saving the form's data object - individual renderers may override with custom processing More... | |
$onPostProcess = null | |
callback hook for processing after saving the form's data object - individual renderers may override with custom processing More... | |
Use Currency3 if you want to have 3 decimal places displayed.
Definition at line 161 of file currency_field_renderer.inc.
Currency3FieldRenderer::Currency3FieldRenderer | ( | & | $parent | ) |
Definition at line 163 of file currency_field_renderer.inc.