blob: c9d96aa76b99ad7ac1e8191a941b33e92eef2edf [file] [log] [blame]
<?php
class Bug {
private $id;
private $shortDesc;
public function __construct( $id, $shortDesc ) {
$this->id = $id;
$this->shortDesc = $shortDesc;
}
public function getId() {
return $this->id;
}
public function getShortDesc() {
return $this->shortDesc;
}
public function render() {
$result = "<a href='http://bugs.eclipse.org/bugs/show_bug.cgi?id=" . $this->getId() . "'>Bug " . $this->getId() . "</a>: " . $this->getShortDesc();
return $result;
}
}
?>