Пример #1
0
 /**
  * overrides the edit function to put the currencysymbol in front of the input field.
  *
  * @param array $record The record that holds the value for this attribute.
  * @param string $fieldprefix The fieldprefix to put in front of the name
  *                            of any html form element for this attribute.
  * @param string $mode The mode we're in ('add' or 'edit')
  *
  * @return string A piece of htmlcode for editing this attribute
  */
 public function edit($record, $fieldprefix, $mode)
 {
     return $this->getCurrencySymbolDisplay() . parent::edit($record, $fieldprefix, $mode);
 }