[Mapbender-commits] r2180 - branches/2.4.5/http/classes
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Mar 5 10:44:48 EST 2008
Author: christoph
Date: 2008-03-05 10:44:48 -0500 (Wed, 05 Mar 2008)
New Revision: 2180
Modified:
branches/2.4.5/http/classes/class_stripRequest.php
Log:
reverted to 2082
feature freeze, rejected
Modified: branches/2.4.5/http/classes/class_stripRequest.php
===================================================================
--- branches/2.4.5/http/classes/class_stripRequest.php 2008-03-05 15:40:02 UTC (rev 2179)
+++ branches/2.4.5/http/classes/class_stripRequest.php 2008-03-05 15:44:48 UTC (rev 2180)
@@ -81,47 +81,6 @@
}
}
- function getFormat(){
- $format = $this->get("format");
-
- if ($format=="PNG" || $format=="image/png"){
- return "png";
- } else if ($format=="JPEG" || $format=="image/jpeg"){
- return "jpeg";
- } else {
- return null;
- }
-
- }
-
- function setFormat($formatType){
- $version = $this->get("version");
- if($version == "1.0.0"){
- if ($formatType=='png'){
- $output = $this->set("format","PNG");
- return $output;
- } else if ($formatType=='jpeg'){
- $output = $this->set("format","JPEG");
- return $output;
- } else {
- return;
- }
-
- }
- else{
- if ($formatType=='png'){
- $output = $this->set("format","image/png");
- return $output;
- } else if ($formatType=='jpeg'){
- $output = $this->set("format","image/jpeg");
- return $output;
- } else {
- return;
- }
-
- }
- }
-
function append($param){
$this->url .= "&".$param;
$this->encodeGET();
More information about the Mapbender_commits
mailing list