function apiLink()
 {
     $useridString = empty($this->userid) ? "" : "/users/" . $this->userid;
     $locationidString = empty($this->locationid) ? "" : "/locations/" . $this->locationid;
     $linkString = "https://" . apiDB::getServerName() . "/" . apiDB::dirname() . $useridString . $locationidString . "/" . $this->columnName() . "/" . $this->id;
     return "<a href=\"" . $linkString . "\">" . $this->fromdate . "->" . $this->todate . "</a>";
 }
Esempio n. 2
0
 function apiLink()
 {
     $linkString = "https://" . apiDB::getServerName() . "/" . apiDB::dirname() . "/users/" . $this->id;
     return "<a href=\"" . $linkString . "\">" . $this->email . "</a>";
 }