public function setUpRange($elem, $ns = '', $attr = '', $attrNs = '', $datatype = 'string')
    {
        $this->type = 'range';
        $this->elem = (string)$elem;
        $this->ns = (string)$ns;
        $this->attr = (string)$attr;
        $this->attrNs = (string)$attrNs;
        $this->datatype = (string)$datatype;
    }
public function setUpRange($elem, $ns = '', $attr = '', $attrNs = '', $datatype = 'string')
    {
        $this->type = 'range';
        $this->elem = (string)$elem;
        $this->ns = (string)$ns;
        $this->attr = (string)$attr;
        $this->attrNs = (string)$attrNs;
        $this->datatype = (string)$datatype;
    }
public function setUpRange ( $ elem , $ ns = '' , $ attr = '' , $ attrNs = '' , $ datatype = 'string' ) { $ this -> type = 'range' ; $ this -> elem = ( string ) $ elem ; $ this -> ns = ( string ) $ ns ; $ this -> attr = ( string ) $ attr ; $ this -> attrNs = ( string ) $ attrNs ; $ this -> datatype = ( string ) $ datatype ; }
Set up range values.

@param string $elem Name of the element.
@param string $ns Element namespace.
@param string $attr Attribute name.
@param string $attrNs An attribute namespace.
@param string $datatype Constraint datatype.
Set up range values .