Esempio n. 1
0
 function getLink($table, $primkeycol, $id)
 {
     global $_WEB_URL;
     $my_id = $id;
     $my_name = null;
     if (is_null($my_id)) {
         $my_id = $this->Id;
         $my_name = $this->Name;
     } else {
         # the id was NOT null, so the name is overwritten
         $my_name = EVEObject::getName($table, $primkeycol, $id);
     }
     # now construct the URL
     return "<a href='{$_WEB_URL}/show.php?{$primkeycol}={$my_id}'>{$my_name}</a>";
 }
 function getName($id = null)
 {
     return parent::getName('constellations', 'constellationid', $id);
 }
Esempio n. 3
0
 function getName($id = null)
 {
     return parent::getName('regions', 'regionid', $id);
 }
Esempio n. 4
0
 function getName($id = null)
 {
     return parent::getName('systems', 'systemid', $id);
 }