CVS update: /cowiki/includes/cowiki/class/util/
[email protected] 17 Apr 2005 04:30:08 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 05/04/16 21:30:08 Modified: /cowiki/includes/cowiki/class/util/ class.HttpResponse.php Log: Cosmetics 75 chars wide method divider belong to the styleguide and has been removed accidently by Kai. Restore them to keep the code homogeneous. Usually I do such changes only if an other change has been made to the code. This a tiny exeption :) File Changes: Directory: /cowiki/includes/cowiki/class/util/ ============================================== File [changed]: class.HttpResponse.php Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/util/class.HttpResponse.php?r1=1.21&r2=1.22 Delta lines: +25 -2 -------------------- --- class.HttpResponse.php 11 Mar 2005 04:22:17 -0000 1.21 +++ class.HttpResponse.php 17 Apr 2005 04:30:08 -0000 1.22 @@ -2,7 +2,7 @@ /** * - * $Id: class.HttpResponse.php,v 1.21 2005/03/11 04:22:17 nibra Exp $ + * $Id: class.HttpResponse.php,v 1.22 2005/04/17 04:30:08 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -17,7 +17,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.21 $ + * @version $Revision: 1.22 $ * */ @@ -48,6 +48,8 @@ protected $aGetParam = null; + // -------------------------------------------------------------------- + /** * Get instance * @@ -66,6 +68,7 @@ } return self::$Instance; } + // -------------------------------------------------------------------- /** * Class constructor @@ -94,6 +97,8 @@ $this->clearGetParams(); } + // -------------------------------------------------------------------- + /** * Add get param * @@ -112,6 +117,8 @@ $this->aGetParam[$sPlugin][$sKey] = urlencode($sValue); } + // -------------------------------------------------------------------- + /** * Clean get-parameter container * @@ -125,6 +132,8 @@ $this->aGetParam[$this->Context->getPluginName()] = array(); } + // -------------------------------------------------------------------- + /** * Retrieve query array build by "addGetParam()" * @@ -140,6 +149,8 @@ return $this->aGetParam[$this->Context->getPluginName()]; } + // -------------------------------------------------------------------- + /** * Retrieve query string determined by "addGetParam()" * @@ -179,6 +190,8 @@ return $sStr;; } + // -------------------------------------------------------------------- + /** * Get controller path * @@ -230,6 +243,8 @@ return $sFileName . $sQuery; } + // -------------------------------------------------------------------- + /** * Get controller href * @@ -249,6 +264,8 @@ . $this->getControllerPath($sQuery); } + // -------------------------------------------------------------------- + /** * Add query to request URI, but remove any possible doublettes * @@ -307,6 +324,8 @@ return $sReqUri . $sDeli . $sQuery; } + // -------------------------------------------------------------------- + /** * Redirect response (to controller) * @@ -337,6 +356,8 @@ exit; } + // -------------------------------------------------------------------- + /** * Redirect response * @@ -369,6 +390,8 @@ header('Location: ' . $this->Request->getBaseUri() . $sInfo); exit; } + + // -------------------------------------------------------------------- /** * Get comment href