Example #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 getLink($id = null)
 {
     return parent::getLink('constellations', 'constellationid', $id);
 }
Example #3
0
 function getLink($id = null)
 {
     return parent::getLink('regions', 'regionid', $id);
 }
Example #4
0
 function getLink($id = null)
 {
     return parent::getLink('systems', 'systemid', $id);
 }
 function getLink($id = null)
 {
     return parent::getLink('alliances', 'allianceid', $id);
 }