/** * always lowercase portnames * @param string $value */ public function setValue($value) { parent::setValue(trim(strtolower($value))); }
/** * constructor, set absolute min and max values */ public function __construct($ref = null, $tagname = null) { parent::__construct($ref, $tagname); $this->minimum_value = PHP_INT_MAX * -1; $this->maximum_value = PHP_INT_MAX; }