--- FreeBSD/tinderbox/webui/core/PortFailReason.php 2007/11/02 20:56:34 1.1 +++ FreeBSD/tinderbox/webui/core/PortFailReason.php 2007/11/09 22:56:45 1.1.1.1.2.1 @@ -24,33 +24,33 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # +# $Paefchen$ # $MCom: portstools/tinderbox/webui/core/PortFailReason.php,v 1.1 2005/10/21 22:40:14 oliver Exp $ # - require_once 'TinderObject.php'; +class PortFailReason extends TinderObject { - class PortFailReason extends TinderObject { + public function __construct($argv = array()) { + $object_hash = array( + 'port_fail_reason_tag' => '', + 'port_fail_reason_descr' => '', + 'port_fail_reason_type' => '' + ); - function PortFailReason($argv = array()) { - $object_hash = array( - 'port_fail_reason_tag' => '', - 'port_fail_reason_descr' => '', - 'port_fail_reason_type' => '' - ); - - $this->TinderObject($object_hash, $argv); + parent::__construct($object_hash, $argv); } - function getTag() { - return $this->port_fail_reason_tag; - } + public function getTag() { + return $this->port_fail_reason_tag; + } - function getDescr() { + public function getDescr() { return $this->port_fail_reason_descr; } - function getType() { + public function getType() { return $this->port_fail_reason_type; } - } +} + ?>