public function create_request($par_array)
    {
        //debug_var_dump('par_array', $par_array);
        $request = $this->addChild($this->doc->documentElement, "request", $this->request_url());
        foreach ($par_array as $key => $value) {
            $request->setAttribute($key, $value);
        }
    }
public function create_request($par_array)
    {
        //debug_var_dump('par_array', $par_array);
        $request = $this->addChild($this->doc->documentElement, "request", $this->request_url());
        foreach ($par_array as $key => $value) {
            $request->setAttribute($key, $value);
        }
    }
public function create_request ( $ par_array ) { //debug_var_dump('par_array', $par_array); $ request = $ this -> addChild ( $ this -> doc -> documentElement , "request" , $ this -> request_url ( ) ) ; foreach ( $ par_array as $ key => $ value ) { $ request -> setAttribute ( $ key , $ value ) ; } }
Create an OAI request node.

@param $par_array Type: array
The attributes of a request node. They describe the verb of the request and other associated parameters used in the request.
Keys of the array define attributes, and values are their content.
Create an OAI request node .