Diff
Modified: trunk/Sungrazr/Server/Adapter/JsonRpc.php (102 => 103)
--- trunk/Sungrazr/Server/Adapter/JsonRpc.php 2007-12-20 20:17:16 UTC (rev 102)
+++ trunk/Sungrazr/Server/Adapter/JsonRpc.php 2007-12-20 20:18:19 UTC (rev 103)
@@ -105,7 +105,10 @@
// call the handler object + method
$callback = $this->_server_api[$this->method]['callback'];
$obj = Solar::factory($callback[0],
- array('caller' => $this)
+ array(
+ 'caller' => $this,
+ 'request' => $request
+ )
);
$this->result = call_user_func_array(
array($obj, $callback[1]),
Modified: trunk/Sungrazr/Server/Adapter/Rest.php (102 => 103)
--- trunk/Sungrazr/Server/Adapter/Rest.php 2007-12-20 20:17:16 UTC (rev 102)
+++ trunk/Sungrazr/Server/Adapter/Rest.php 2007-12-20 20:18:19 UTC (rev 103)
@@ -28,7 +28,7 @@
* @return mixed
*
*/
- public function handle($request = false)
+ public function handle(Solar_Request $request)
{
}
Modified: trunk/Sungrazr/Server/Adapter/XmlRpc.php (102 => 103)
--- trunk/Sungrazr/Server/Adapter/XmlRpc.php 2007-12-20 20:17:16 UTC (rev 102)
+++ trunk/Sungrazr/Server/Adapter/XmlRpc.php 2007-12-20 20:18:19 UTC (rev 103)
@@ -28,7 +28,7 @@
* @return mixed
*
*/
- public function handle($request = false)
+ public function handle(Solar_Request $request)
{
}