Changeset 755 for trunk/Modules/Subject/Subject.php
- Timestamp:
- Oct 25, 2015, 9:51:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Subject/Subject.php
r754 r755 126 126 'Filter' => '1', 127 127 )); 128 $this->System->ModuleManager->Modules['IS']->RegisterDashboardItem('Subject', 129 array('ModuleSubject', 'ShowDashboardItem')); 128 130 } 129 131 … … 176 178 $this->Database->query('DROP TABLE `Subject`'); 177 179 } 180 181 function ShowDashboardItem() 182 { 183 $DbResult = $this->Database->select('Subject', 'COUNT(*)', '1'); 184 $DbRow = $DbResult->fetch_row(); 185 $Output = 'Subjektů: '.$DbRow['0'].'<br/>'; 186 return($Output); 187 } 178 188 }
Note:
See TracChangeset
for help on using the changeset viewer.