Example #1
0
 /**
  * always lowercase portnames
  * @param string $value
  */
 public function setValue($value)
 {
     parent::setValue(trim(strtolower($value)));
 }
Example #2
0
 /**
  * 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;
 }