Overview

Packages

  • None
  • Sesha

Classes

  • Horde_Core_UI_VarRenderer_Stockedit_Html
  • Sesha
  • Sesha_Api
  • Sesha_Driver
  • Sesha_Driver_Sql
  • Sesha_Exception
  • Sesha_Forms_Category
  • Sesha_Forms_CategoryDelete
  • Sesha_Forms_CategoryList
  • Sesha_Forms_Property
  • Sesha_Forms_PropertyDelete
  • Sesha_Forms_PropertyList
  • Sesha_Forms_Search
  • Sesha_Forms_Stock
  • Sesha_Forms_Type_Client
  • Overview
  • Package
  • Class
  • Tree
 1: <?php
 2: /**
 3:  * Copyright 2004-2011 Horde LLC (http://www.horde.org/)
 4:  *
 5:  * See the enclosed file LICENSE for license information (GPL). If you
 6:  * did not receive this file, see http://www.horde.org/licenses/gpl.php.
 7:  *
 8:  * @author  Bo Daley <bo@darkwork.net>
 9:  * @package Sesha
10:  */
11: 
12: class Sesha_Forms_CategoryDelete extends Horde_Form {
13: 
14:     function __construct($vars)
15:     {
16:         parent::__construct($vars);
17: 
18:         $this->appendButtons(_("Delete Category"));
19:         $params = array('yes' => _("Yes"),
20:                         'no' => _("No"));
21:         $desc = _("Really delete this category?");
22: 
23:         $this->addHidden('', 'actionID', 'text', false, false, null, array('delete_category'));
24:         $this->addHidden('', 'category_id', 'text', false, false, null);
25:         $this->addVariable(_("Confirm"), 'confirm', 'enum', true, false, $desc, array($params));
26:     }
27: 
28: }
29: 
API documentation generated by ApiGen