Subversion Repositories eFlore/Applications.eflore-consultation

Rev

Rev 924 | Rev 1084 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 924 Rev 1048
Line 110... Line 110...
110
			$this->restClient = new RestClient();
110
			$this->restClient = new RestClient();
111
		}
111
		}
112
		return $this->restClient;
112
		return $this->restClient;
113
	}
113
	}
Line -... Line 114...
-
 
114
 
-
 
115
 
-
 
116
	static function s_formaterUrl($tpl, Array $parametres) {
-
 
117
		foreach($parametres as $key => $value) {
-
 
118
			if(is_array($value)) {
-
 
119
				$value = implode(',', $value);
-
 
120
			}
-
 
121
			$tpl = str_replace('{'.$key.'}',rawurlencode($value), $tpl);
-
 
122
		}
-
 
123
		return $tpl;
114
 
124
	}
115
}
125
}
116
?>
126
?>