Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for phpPlatonLib/Platon/Platon.php between version 1.33 and 1.34

version 1.33, 2005/11/07 23:21:17 version 1.34, 2005/11/25 17:23:06
Line 24 
Line 24 
  * @access      public   * @access      public
  */   */
   
 /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.32 2005/11/07 22:02:29 nepto Exp $ */  /* $Platon: phpPlatonLib/Platon/Platon.php,v 1.33 2005/11/07 23:21:17 nepto Exp $ */
   
 class Platon  class Platon
 {  {
Line 688  class Platon
Line 688  class Platon
     } /* }}} */      } /* }}} */
   
     /**      /**
        * Removes parameter with value from the query string
        *
        * @param   string  $query_string       query string
        * @param   string  $param              parameter name
        * @param   char    $sep                separator (default: &)
        * @return  string                      modified query string
        */
       function query_string_remove_param($query_string, $param, $sep = '&') /* {{{ */
       {
           $regexp = $sep.$param.'=[^'.$sep.']*';
           $array  = preg_split("/$regexp/", $sep.$query_string);
           $string = join('', $array);
           $string = preg_replace('/^&*/', '',$string);
           return $string;
       } /* }}} */
   
       /**
      * Returns passed path without scriptname; method also accepts array       * Returns passed path without scriptname; method also accepts array
      * returned from Platon::glue_url() method.       * returned from Platon::glue_url() method.
      *       *

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top