Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes #259: CHttpRequest::getRestParams is now public

commit 9844c80ddf18b7c3e5da73d8936c6efbe14014da 1 parent d6f92ea
@samdark samdark authored
Showing with 4 additions and 2 deletions.
  1. +1 −0  CHANGELOG
  2. +3 −2 framework/web/CHttpRequest.php
View
1  CHANGELOG
@@ -30,6 +30,7 @@ Version 1.1.13 work in progress
- Enh #84: Log route categories are now accepted in form of array. Added CLogRoute::except and parameter to CLogRoute::getLogs that allows you to exclude specific categories (paystey)
- Enh #104: Added CWebLogRoute::$collapsedInFireBug property to control whether the log should be collapsed by default in Firebug (marcovtwout)
- Enh #117: Added CPhpMessageSource::$extensionPaths to allow extensions, that do not have a base class to use as category prefix, to register message source (rcoelho, cebe)
+- Enh #259: CHttpRequest::getRestParams is now public (samdark)
- Enh #291: CFormatter::formatDate and formatDateTime now also accept strings in strtotime() format (francis_tm, cebe)
- Enh #486: CHttpSession::$gCProbability and CDbHttpSession::$gCProbability are floats now. Minimal possible $gCProbability value has been changed to the ≈0.00000005% (1/2147483647), was integer 1% before, default value left unchanged (1%) (resurtm)
- Enh #556: CDbColumnSchema::$comment property has been added. It stores comment for the table column, comment retrieving is working for MySQL, PgSQL and Oracle (resurtm)
View
5 framework/web/CHttpRequest.php
@@ -237,11 +237,12 @@ public function getPut($name,$defaultValue=null)
}
/**
- * Returns the PUT or DELETE request parameters.
+ * Returns request parameters. Typically PUT or DELETE.
* @return array the request parameters
* @since 1.1.7
+ * @since 1.1.13 method became public
*/
- protected function getRestParams()
+ public function getRestParams()
{
if($this->_restParams===null)
{
Please sign in to comment.
Something went wrong with that request. Please try again.