Subversion Repositories Applications.framework

Rev

Rev 467 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 467 Rev 476
Line 1... Line 1...
1
<?php
1
<?php
2
// declare(encoding='UTF-8');
2
// declare(encoding='UTF-8');
3
/**
3
/**
4
* classe Url, gérant le découpage des paramètres, leurs modification etc...
4
 * classe Url, gérant le découpage des paramètres, leurs modification etc...
5
* Traduction et conversion d'une classe (NET_Url2) issue de Pear
5
 * Traduction et conversion d'une classe (NET_Url2) issue de Pear
6
*
6
 *
7
* @category  Php5
7
 * @category	PHP 5.2
8
* @package   Framework
8
 * @package		Framework
9
// Auteur principal
-
 
10
* @author	Christian Schmidt <schmidt@php.net>
9
 * @author		Christian SCHMIDT<schmidt@php.net>
11
// Autre auteurs
-
 
12
* @author	Aurélien PERONNET <aurelien@tela-botanica.org>
10
 * @author		Aurélien PERONNET <aurelien@tela-botanica.org>
13
* @author	Jean-Pascal MILCENT <jpm@tela-botanica.org>
11
 * @author		Jean-Pascal MILCENT <jpm@tela-botanica.org>
14
* @copyright 2009 Tela-Botanica
12
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
15
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
-
 
16
* @license   http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
13
 * @license		GNU-GPL-v3 <http://www.gnu.org/licenses/gpl.html>
17
* @version   SVN: $Id: Url.php 171 2010-03-23 11:23:38Z jpm $
14
 * @license		CECILL-v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt>
18
* @link	  /doc/framework/
-
 
19
*
-
 
20
*/
15
 */
21
class Url
16
class Url
22
{
17
{
23
	/**
18
	/**
24
	 * Parsing strict dans resoudre() (voir RFC 3986, section 5.2.2). Par défaut
19
	 * Parsing strict dans resoudre() (voir RFC 3986, section 5.2.2). Par défaut
25
	 * à true.
20
	 * à true.
Line 451... Line 446...
451
	public function unsetVariableRequete($nom) {
446
	public function unsetVariableRequete($nom) {
452
		$tableau = $this->getVariablesRequete();
447
		$tableau = $this->getVariablesRequete();
453
		unset($tableau[$nom]);
448
		unset($tableau[$nom]);
454
		$this->setVariablesRequete($tableau);
449
		$this->setVariablesRequete($tableau);
455
	}
450
	}
456
	
451
 
457
	/**
452
	/**
458
	 * @param array $noms tableau des noms de variable à supprimer de l'url.
453
	 * @param array $noms tableau des noms de variable à supprimer de l'url.
459
	 *
454
	 *
460
	 * @return void
455
	 * @return void
461
	 */
456
	 */