Changeset 2919
- Timestamp:
- 02/04/12 10:47:31 (4 months ago)
- Files:
-
- 1 modified
-
trunk/lib/phpcommon/wslib.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/phpcommon/wslib.php
r2823 r2919 136 136 } 137 137 138 } 139 140 class WSBaseRaceGroup extends WSBase { 141 var $idg = null; 142 var $rgo = null; 143 144 function __construct() { 145 parent::__construct(); 146 } 147 148 function require_idg() { 149 $idg = $this->check_cgi('idg', 'IDG01'); 150 $rgo = new racesgroups($idg); 151 if (is_null($rgo->grouptag)) $this->reply_with_error('IDG03'); 152 $this->rgo = $rgo; 153 $this->idg = $idg; 154 } 138 155 } 139 156 … … 423 440 "IDR02" => 'idr should be int and > 0', 424 441 "IDR03" => 'idr is not valid', 442 443 //idg 444 "IDG01" => 'idg is required', 445 "IDG02" => 'idg : report this error ?', 446 "IDG03" => 'idg is not valid', 447 425 448 "RTFM01" => 'RTFM : please input idr when the boat is not racing', 426 449 "RTFM02" => 'RTFM : starttime should be lesser than endtime',
