Changeset 56 for trunk/www/view/client.php
- Timestamp:
- Aug 4, 2009, 9:53:52 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/www/view/client.php
r55 r56 3 3 class ClientView extends Module 4 4 { 5 var $ItemListFormClass = array( 6 'Title' => 'Verze klienta', 7 'Table' => 'Client', 8 'DefaultOrderColumn' => 'BuildNumber', 9 'DefaultOrderDirection' => 1, 10 'Items' => array( 11 'Version' => array('Type' => 'String', 'Caption' => 'Verze', 'Default' => ''), 12 'BuildNumber' => array('Type' => 'Integer', 'Caption' => 'Číslo sestavení', 'Default' => ''), 13 'ReleaseDate' => array('Type' => 'Date', 'Caption' => 'Datum vydání', 'Default' => ''), 14 'Title' => array('Type' => 'String', 'Caption' => 'Titulek', 'Default' => ''), 15 ), 16 ); 17 5 18 function ShowListOnRow($Row) 6 19 { … … 14 27 15 28 $Output = '<h4>Verze herního klienta</h4>'; 16 $Table = new Table( 'ClientList');29 $Table = new Table($this->ItemListFormClass); 17 30 $Table->OnRow = array($this, 'ShowListOnRow'); 18 31 $Table->LoadValuesFromDatabase($this->Database);
Note:
See TracChangeset
for help on using the changeset viewer.