[Solar-svn] Revision 2813

pmjones at solarphp.com pmjones at solarphp.com
Sat Oct 6 09:29:45 CDT 2007


Solar_Controller_Page: [CHG] Use Solar_Uri::get() vice fetch()


Modified: trunk/Solar/Controller/Page.php
===================================================================
--- trunk/Solar/Controller/Page.php	2007-10-06 14:28:58 UTC (rev 2812)
+++ trunk/Solar/Controller/Page.php	2007-10-06 14:29:45 UTC (rev 2813)
@@ -16,9 +16,9 @@
  */
 
 /**
- *
+ * 
  * Abstract page controller class.
- *
+ * 
  * Expects a directory structure similar to the following ...
  * 
  *     Vendor/              # your vendor namespace
@@ -842,7 +842,7 @@
      * Retrieves the TAINTED value of a path-info parameter by position.
      * 
      * Note that this value is direct user input; you should sanitize it
-     * with Solar_DataFilter (or some other technique) before using it.
+     * with Solar_Filter (or some other technique) before using it.
      * 
      * @param int $key The path-info parameter position.
      * 
@@ -866,7 +866,7 @@
      * Retrieves the TAINTED value of a query request key by name.
      * 
      * Note that this value is direct user input; you should sanitize it
-     * with Solar_DataFilter (or some other technique) before using it.
+     * with Solar_Filter (or some other technique) before using it.
      * 
      * @param string $key The query key.
      * 
@@ -900,7 +900,7 @@
     protected function _redirect($spec, $code = 302)
     {
         if ($spec instanceof Solar_Uri_Action) {
-            $href = $spec->fetch(true);
+            $href = $spec->get(true);
         } elseif (strpos($spec, '://') !== false) {
             // external link, protect against header injections
             $href = str_replace(array("\r", "\n"), '', $spec);




More information about the Solar-svn mailing list