Subversion Repositories Applications.framework

Rev

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

Rev 150 Rev 171
Line 12... Line 12...
12
* @author	Aurélien PERONNET <aurelien@tela-botanica.org>
12
* @author	Aurélien PERONNET <aurelien@tela-botanica.org>
13
* @author	Jean-Pascal MILCENT <jpm@tela-botanica.org>
13
* @author	Jean-Pascal MILCENT <jpm@tela-botanica.org>
14
* @copyright 2009 Tela-Botanica
14
* @copyright 2009 Tela-Botanica
15
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
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
16
* @license   http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
17
* @version   SVN: $Id: Url.php 150 2010-03-03 15:49:06Z jpm $
17
* @version   SVN: $Id: Url.php 171 2010-03-23 11:23:38Z jpm $
18
* @link	  /doc/framework/
18
* @link	  /doc/framework/
19
*
19
*
20
*/
20
*/
21
class Url
21
class Url
22
{
22
{
Line 451... Line 451...
451
	public function unsetVariableRequete($nom) {
451
	public function unsetVariableRequete($nom) {
452
		$tableau = $this->getVariablesRequete();
452
		$tableau = $this->getVariablesRequete();
453
		unset($tableau[$nom]);
453
		unset($tableau[$nom]);
454
		$this->setVariablesRequete($tableau);
454
		$this->setVariablesRequete($tableau);
455
	}
455
	}
-
 
456
	
-
 
457
	/**
-
 
458
	 * @param array $noms tableau des noms de variable à supprimer de l'url.
-
 
459
	 *
-
 
460
	 * @return void
-
 
461
	 */
-
 
462
	public function unsetVariablesRequete($noms) {
-
 
463
		$tableau = $this->getVariablesRequete();
-
 
464
		foreach ($noms as $nom) {
-
 
465
			unset($tableau[$nom]);
-
 
466
		}
-
 
467
		$this->setVariablesRequete($tableau);
-
 
468
	}
Line 456... Line 469...
456
 
469
 
457
	/**
470
	/**
458
	 * Renvoie un représentation sous forme de chaine de l'URL
471
	 * Renvoie un représentation sous forme de chaine de l'URL
459
	 *
472
	 *