Changeset 628 for trunk/Modules/IS/IS.php
- Timestamp:
- Jan 2, 2014, 1:20:35 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/IS/IS.php
r627 r628 167 167 $this->Values = $Class->$Method($Form); 168 168 } 169 $Form->Validate(); 169 170 $Form->SaveValuesToDatabase(0); 170 171 $Id = $this->Database->insert_id; … … 173 174 $Output .= $this->SystemMessage('Přidání položky', 'Nová položka vytvořena'); 174 175 $Output .= $this->ShowView($Table, $Id); 176 if(array_key_exists('AfterInsert', $Form->Definition)) 177 { 178 $Class = $Form->Definition['AfterInsert'][0]; 179 $Method = $Form->Definition['AfterInsert'][1]; 180 $this->Values = $Class->$Method($Form); 181 } 175 182 //$this->Database->update($Table, 'Id='.$Id, 176 183 // array('UserCreate' => $this->System->User->User['Id'],
Note:
See TracChangeset
for help on using the changeset viewer.