Subversion Repositories Applications.framework

Rev

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

Rev 148 Rev 149
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 148 2010-03-03 15:18:04Z jpm $
17
* @version   SVN: $Id: Url.php 149 2010-03-03 15:48:26Z jpm $
18
* @link	  /doc/framework/
18
* @link	  /doc/framework/
19
*
19
*
20
*/
20
*/
21
class Url
21
class Url
22
{
22
{
Line 349... Line 349...
349
	 * dans le $_GET d'un script PHP
349
	 * dans le $_GET d'un script PHP
350
	 *
350
	 *
351
	 * @return  array
351
	 * @return  array
352
	 */
352
	 */
353
	public function getVariablesRequete() {
353
	public function getVariablesRequete() {
354
		$pattern = '/[' .
354
		$pattern = '/' .
355
				   preg_quote($this->getOption(self::OPTION_SEPARATEUR_ENTREE), '/') .
355
				   preg_quote($this->getOption(self::OPTION_SEPARATEUR_ENTREE), '/') .
356
				   ']/';
356
				   '/';
357
		$parties   = preg_split($pattern, $this->requete, -1, PREG_SPLIT_NO_EMPTY);
357
		$parties   = preg_split($pattern, $this->requete, -1, PREG_SPLIT_NO_EMPTY);
-
 
358
		Debug::printr($parties);
358
		$retour  = array();
359
		$retour  = array();
Line 359... Line 360...
359
 
360
 
360
		foreach ($parties as $partie) {
361
		foreach ($parties as $partie) {
361
			if (strpos($partie, '=') !== false) {
362
			if (strpos($partie, '=') !== false) {