src-dev/Mouf/Validator/MoufBasicValidationProvider.php
public function getUrl() {
		$url = $this->url;
		
		$params = array();
		// First, get the list of all parameters to be propagated
		if (is_array($this->propagatedUrlParameters)) {
			foreach ($this->propagatedUrlParameters as $parameter) {
				if (isset($_REQUEST[$parameter])) {
					$params[$parameter] = get($parameter);
				}
			}
		}
		
		if (!empty($params)) {
			if (strpos($url, "?") === FALSE) {
				$url .= "?";
			} else {
				$url .= "&";
			}
			$paramsAsStrArray = array();
			foreach ($params as $key=>$value) {
				$paramsAsStrArray[] = urlencode($key).'='.urlencode($value);
			}
			$url .= implode("&", $paramsAsStrArray);
		}
		
		return $url;
	}
public function getUrl() {
		$url = $this->url;
		
		$params = array();
		// First, get the list of all parameters to be propagated
		if (is_array($this->propagatedUrlParameters)) {
			foreach ($this->propagatedUrlParameters as $parameter) {
				if (isset($_REQUEST[$parameter])) {
					$params[$parameter] = get($parameter);
				}
			}
		}
		
		if (!empty($params)) {
			if (strpos($url, "?") === FALSE) {
				$url .= "?";
			} else {
				$url .= "&";
			}
			$paramsAsStrArray = array();
			foreach ($params as $key=>$value) {
				$paramsAsStrArray[] = urlencode($key).'='.urlencode($value);
			}
			$url .= implode("&", $paramsAsStrArray);
		}
		
		return $url;
	}
public function getUrl ( ) { $ url = $ this -> url ; $ params = array ( ) ; // First, get the list of all parameters to be propagated
 if ( is_array ( $ this -> propagatedUrlParameters ) ) { foreach ( $ this -> propagatedUrlParameters as $ parameter ) { if ( isset ( $ _REQUEST [ $ parameter ] ) ) { $ params [ $ parameter ] = get ( $ parameter ) ; } } } if ( ! empty ( $ params ) ) { if ( strpos ( $ url , "?" ) === FALSE ) { $ url .= "?" ; } else { $ url .= "&" ; } $ paramsAsStrArray = array ( ) ; foreach ( $ params as $ key => $ value ) { $ paramsAsStrArray [ ] = urlencode ( $ key ) . '=' . urlencode ( $ value ) ; } $ url .= implode ( "&" , $ paramsAsStrArray ) ; } return $ url ; }
Returns the URL that will be called for that validator. The URL is relative to the ROOT_URL.
The URL will return HTML code that will directly be displayed in the Mouf validation screen.

@return string
Returns the URL that will be called for that validator . The URL is relative to the ROOT_URL . The URL will return HTML code that will directly be displayed in the Mouf validation screen .