@@ -229,12 +229,16 @@ |
||
| 229 | 229 | //CORP INFO |
| 230 | 230 | /** |
| 231 | 231 | * @param string $corpName |
| 232 | + * @param integer $corpID |
|
| 232 | 233 | */ |
| 233 | 234 | function addCorpInfo($corpID, $corpTicker, $corpName) |
| 234 | 235 | { |
| 235 | 236 | dbExecute('REPLACE INTO corpCache (`corpID`, `corpTicker`, `corpName`) VALUES (:corpID,:corpTicker,:corpName)', array(':corpID' => $corpID, ':corpTicker' => $corpTicker, ':corpName' => $corpName)); |
| 236 | 237 | } |
| 237 | 238 | |
| 239 | +/** |
|
| 240 | + * @param integer $corpID |
|
| 241 | + */ |
|
| 238 | 242 | function getCorpInfo($corpID) |
| 239 | 243 | { |
| 240 | 244 | return dbQueryRow('SELECT * FROM corpCache WHERE `corpID` = :corpID', array(':corpID' => $corpID)); |
@@ -440,6 +440,9 @@ |
||
| 440 | 440 | * @return mixed |
| 441 | 441 | */ |
| 442 | 442 | ////System name to ID |
| 443 | +/** |
|
| 444 | + * @return string |
|
| 445 | + */ |
|
| 443 | 446 | function systemID($systemName) |
| 444 | 447 | { |
| 445 | 448 | $logger = new Logger('eveESI'); |