示例#1
0
 function getClone()
 {
     $newUrl = new SimpleUrl($this->base);
     if (is_array($this->parameters)) {
         foreach ($this->parameters as $key => $value) {
             $newUrl->addParameter($key, $value);
         }
     }
     $newUrl->setOnSubmit($this->onsubmit);
     return $newUrl;
 }