Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class EuroField extends NumericField
- {
- public function __construct($name, $title = null, $value = '', $maxLength = null, $form = null) {
- parent::__construct($name, $title, $value);
- $this->setFieldHolderTemplate("MyEuroFieldHolder");
- }
- /**
- * {@inheritdoc}
- */
- public function Type() {
- return 'euro text';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement