Changeset 766 for trunk/Modules/Server/Server.php
- Timestamp:
- Jan 27, 2014, 10:28:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Server/Server.php
r639 r766 33 33 parent::__construct($System); 34 34 $this->Table = 'Server'; 35 $this->TableSQL = 'SELECT ` Name`, `URL`, `Parts`, `XPRate`, `GameplayStyle`, '.36 '`ClientVersion`.`Version` AS ` Version` FROM `Server` '.35 $this->TableSQL = 'SELECT `Server`.`Id`, `Name`, `URL`, `Parts`, `XPRate`, `GameplayStyle`, `Description`, `CheckIP`, `CheckPort`, '. 36 '`ClientVersion`.`Version` AS `ClientVersion` FROM `Server` '. 37 37 'LEFT JOIN `ClientVersion` ON `ClientVersion`.`Id` = `Server`.`ClientVersion`'; 38 38 $this->Definition = array( 39 'Name' => array('Type' => 'String', 'Title' => T('Name')), 40 'URL' => array('Type' => 'URL', 'Title' => T('URL')), 41 'Parts' => array('Type' => 'String', 'Title' => T('Translated')), 42 'XPRate' => array('Type' => 'String', 'Title' => T('XP rate')), 43 'GameplayStyle' => array('Type' => 'String', 'Title' => T('Style')), 44 'ClientVersion' => array('Type' => 'String', 'Title' => T('Client version')), 39 'Name' => array('Type' => 'String', 'Title' => T('Name'), 'InList' => true), 40 'URL' => array('Type' => 'URL', 'Title' => T('URL'), 'InList' => true), 41 'Parts' => array('Type' => 'String', 'Title' => T('Translated'), 'InList' => true), 42 'XPRate' => array('Type' => 'String', 'Title' => T('XP rate'), 'InList' => true), 43 'GameplayStyle' => array('Type' => 'String', 'Title' => T('Style'), 'InList' => true), 44 'ClientVersion' => array('Type' => 'String', 'Title' => T('Client version'), 'InList' => true), 45 'Description' => array('Type' => 'Text', 'Title' => T('Description'), 'InList' => false), 46 'CheckIP' => array('Type' => 'Text', 'Title' => T('Online check IP'), 'InList' => false), 47 'CheckPort' => array('Type' => 'Text', 'Title' => T('Online check port'), 'InList' => false), 45 48 ); 46 49 }
Note:
See TracChangeset
for help on using the changeset viewer.