Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. class EuroField extends NumericField
  2. {
  3.  
  4.     public function __construct($name, $title = null, $value = '', $maxLength = null, $form = null) {
  5.         parent::__construct($name, $title, $value);
  6.         $this->setFieldHolderTemplate("MyEuroFieldHolder");
  7.     }
  8.  
  9.  
  10.     /**
  11.      * {@inheritdoc}
  12.      */
  13.     public function Type() {
  14.         return 'euro text';
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement