<?
/*abstract*/
class LenexBase {
function LenexBase() {
$error = "you cannot create an object for class ".get_class($this);
trigger_error ($error,E_USER_ERROR);
die ($error);
}
/*static*/
function fromSAX($attrs) {
$error = "you cannot staticly create an object for class ".get_class($this);
trigger_error ($error,E_USER_ERROR);
die ($error);
}
function setParent(&$obj) {
$error = "Parent cannot be set for class ".get_class($this);
trigger_error ($error,E_USER_ERROR);
die ($error);
}
function toString() {
return @$this->name;
}
}
?>