blob: 22c9c5cad6dd72fe520234d02dfab8373a242ddf [file] [log] [blame]
<?php
class Dependency {
private $label;
private $link;
function __construct( $label, $link ) {
$this->label = $label;
$this->link = $link;
}
function getLabel() {
return $this->label;
}
function getLink() {
return $this->link;
}
function render() {
$result = $result . "<small><a href=\"" . $this->link . "\">" . $this->label . "</a></small>";
if ( strlen( $this->size) > 0 )
$result = $result . " (" . $this->size . ")" ;
return $result;
}
}
?>