Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class ComputadorObject extends DataObjectDecorator {
- function extraStatics() {
- return array(
- 'db' => array(
- 'Garantia' => 'HTMLText',
- 'Despacho' => 'HTMLText',
- ),
- );
- }
- public function getCMSFields_forPopup(FieldSet &$fields) {
- $fields = new FieldSet(
- new SimpleTinyMCEField('Garantia',_t('ComputadorObject.GARANTIA',"Garantía")),
- new SimpleTinyMCEField('Despacho',_t('ComputadorObject.DESPACHO',"Despacho"))
- );
- return $fields;
- }
- }
Add Comment
Please, Sign In to add comment