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.

33 lines
1.4 KiB

13 years ago
  1. <?php
  2. require(__DATAGEN_META_CONTROLS__ . '/MenuItemMetaControlGen.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. * MenuItem 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 MenuItem object.
  9. *
  10. * To take advantage of some (or all) of these control objects, you
  11. * must create a new QForm or QPanel which instantiates a MenuItemMetaControl
  12. * class.
  13. *
  14. * This file is intended to be modified. Subsequent code regenerations will NOT modify
  15. * or overwrite this file.
  16. *
  17. * @package Quasi
  18. * @subpackage MetaControls
  19. */
  20. class MenuItemMetaControl extends MenuItemMetaControlGen {
  21. /**
  22. * Create and setup a Menu Label - this checks to see what kind of menu
  23. * it is and creates HTML accordingly.
  24. * @param string $strControlId optional CSS Id to use
  25. * @return mixed
  26. */
  27. public function pnlLabel_Create($strControlId = null) {
  28. $this->pnlTitle = new QPanel($this->objParentObject, $strControlId . 'Label');
  29. $this->pnlTitle->Text = $this->objMenuItem->Label;
  30. return $this->pnlTitle;
  31. }
  32. }
  33. ?>