Changeset 538 for trunk/Modules/IS/IS.php
- Timestamp:
- May 18, 2013, 8:21:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r536 r538 119 119 $Form->SetClass($Table); 120 120 $Form->LoadValuesFromForm(); 121 $Form->SaveValuesToDatabase(0); 121 $Form->SaveValuesToDatabase(0); 122 122 $Output .= $this->SystemMessage('Přidání položky', 'Nová položka vytvořena'); 123 123 $Id = $this->Database->insert_id; … … 430 430 parent::Start(); 431 431 $this->System->RegisterPage('is', 'PageIS'); 432 $this->System->FormManager->RegisterClass('MenuItem', array( 433 'Title' => 'Položky nabídky', 434 'Table' => 'MenuItem', 435 'Items' => array( 436 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 437 'Parent' => array('Type' => 'TMenuItem', 'Caption' => 'Rodič', 'Default' => '', 'Null' => true), 438 'Action' => array('Type' => 'TAction', 'Caption' => 'Akce', 'Default' => ''), 439 'Menu' => array('Type' => 'TMenu', 'Caption' => 'Nabídka', 'Default' => ''), 440 'Items' => array('Type' => 'TMenuItemListParent', 'Caption' => 'Položky'), 441 ), 442 )); 443 $this->System->FormManager->RegisterClass('Menu', array( 444 'Title' => 'Nabídky', 445 'Table' => 'Menu', 446 'Items' => array( 447 'Name' => array('Type' => 'String', 'Caption' => 'Název', 'Default' => ''), 448 'Items' => array('Type' => 'TMenuItemListMenu', 'Caption' => 'Položky'), 449 ), 450 )); 451 432 452 } 433 453
Note:
See TracChangeset
for help on using the changeset viewer.