public function lstDueDate_Select() { if ($this->ctlAssetTransact) { $this->ctlAssetTransact->lstDueDate_Select(); } } // This method is run when company or contact edit dialog box is closed public function CloseNewPanel($blnUpdates) { if ($this->ctlAssetTransact) { $this->ctlAssetTransact->CloseNewPanel($blnUpdates); } } // This method is run when the company edit dialog box is closed public function CloseNewToCompanyPanel($blnUpdates) { if ($this->ctlAssetTransact) { $this->ctlAssetTransact->CloseNewToCompanyPanel($blnUpdates); } } // This method is run when the contact edit dialog box is closed public function CloseNewToContactPanel($blnUpdates) { if ($this->ctlAssetTransact) { $this->ctlAssetTransact->CloseNewToContactPanel($blnUpdates); } } } // Run the form using the template asset_edit.php.inc to render the html AssetEditForm::Run('AssetEditForm', 'asset_edit.tpl.php');
// Include prepend.inc to load Qcodo require '../includes/prepend.inc.php'; /* if you DO NOT have "includes/" in your include_path */ // require('prepend.inc.php'); /* if you DO have "includes/" in your include_path */ // Include the classfile for AssetEditFormBase require __FORMBASE_CLASSES__ . '/AssetEditFormBase.class.php'; // Security check for ALLOW_REMOTE_ADMIN // To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below QApplication::CheckRemoteAdmin(); /** * This is a quick-and-dirty draft form object to do Create, Edit, and Delete functionality * of the Asset class. It extends from the code-generated * abstract AssetEditFormBase class. * * Any display customizations and presentation-tier logic can be implemented * here by overriding existing or implementing new methods, properties and variables. * * Additional qform control objects can also be defined and used here, as well. * * @package My Application * @subpackage FormDraftObjects * */ class AssetEditForm extends AssetEditFormBase { } // Go ahead and run this form object to render the page and its event handlers, using // generated/asset_edit.tpl.php as the included HTML template file AssetEditForm::Run('AssetEditForm', 'generated/asset_edit.tpl.php');