A Qcodo based CMS/ecommerce framework
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.7 KiB

13 years ago
  1. <?php
  2. require(__DATAGEN_META_CONTROLS__ . '/ModuleMetaControlGen.class.php');
  3. /**
  4. * This is a MetaControl customizable subclass, providing a QForm or QPanel access to event handlers
  5. * and QControls to perform the Create, Edit, and Delete functionality of the
  6. * Module class. This code-generated class extends from
  7. * the generated MetaControl class, which contains all the basic elements to help a QPanel or QForm
  8. * display an HTML form that can manipulate a single Module object.
  9. *
  10. *
  11. * @package Quasi
  12. * @subpackage MetaControls
  13. */
  14. class ModuleMetaControl extends ModuleMetaControlGen {
  15. protected $pnlTitle;
  16. protected $pnlDescription;
  17. /**
  18. * Create and setup QPanel pnlTitle
  19. * @param string $strControlId optional ControlId to use
  20. * @return QPanel
  21. */
  22. public function pnlTitle_Create($strControlId = null) {
  23. $this->pnlTitle = new QPanel($this->objParentObject, $strControlId . 'Title');
  24. $this->pnlTitle->Name = QApplication::Translate('Title');
  25. $this->pnlTitle->Text = $this->objModule->Title;
  26. return $this->pnlTitle;
  27. }
  28. /**
  29. * Create and setup QPanel pnlDescription
  30. * @param string $strControlId optional ControlId to use
  31. * @return QPanel
  32. */
  33. public function pnlDescription_Create($strControlId = null) {
  34. $this->pnlDescription = new QPanel($this->objParentObject, $strControlId . 'Description');
  35. $this->pnlDescription->Name = QApplication::Translate('Description');
  36. $this->pnlDescription->Text = $this->objModule->Description;
  37. return $this->pnlDescription;
  38. }
  39. }
  40. ?>