|
<?php
|
|
require(__DATAGEN_META_CONTROLS__ . '/MenuItemMetaControlGen.class.php');
|
|
|
|
/**
|
|
* This is a MetaControl customizable subclass, providing a QForm or QPanel access to event handlers
|
|
* and QControls to perform the Create, Edit, and Delete functionality of the
|
|
* MenuItem class. This code-generated class extends from
|
|
* the generated MetaControl class, which contains all the basic elements to help a QPanel or QForm
|
|
* display an HTML form that can manipulate a single MenuItem object.
|
|
*
|
|
* To take advantage of some (or all) of these control objects, you
|
|
* must create a new QForm or QPanel which instantiates a MenuItemMetaControl
|
|
* class.
|
|
*
|
|
* This file is intended to be modified. Subsequent code regenerations will NOT modify
|
|
* or overwrite this file.
|
|
*
|
|
* @package Quasi
|
|
* @subpackage MetaControls
|
|
*/
|
|
class MenuItemMetaControl extends MenuItemMetaControlGen {
|
|
/**
|
|
* Create and setup a Menu Label - this checks to see what kind of menu
|
|
* it is and creates HTML accordingly.
|
|
* @param string $strControlId optional CSS Id to use
|
|
* @return mixed
|
|
*/
|
|
public function pnlLabel_Create($strControlId = null) {
|
|
$this->pnlTitle = new QPanel($this->objParentObject, $strControlId . 'Label');
|
|
$this->pnlTitle->Text = $this->objMenuItem->Label;
|
|
return $this->pnlTitle;
|
|
}
|
|
}
|
|
?>
|