[Sungrazr-svn] [101] Sungrazr_Server_Handler: [CHG] Added setup method that extended classes may override for calling post-construction

0 views
Skip to first unread message

cl...@killersoft.com

unread,
Dec 19, 2007, 1:46:47 AM12/19/07
to Sungra...@googlegroups.com
Revision
101
Author
clay
Date
2007-12-18 22:46:47 -0800 (Tue, 18 Dec 2007)

Log Message

Sungrazr_Server_Handler: [CHG] Added setup method that extended classes may override for calling post-construction

Modified Paths

Diff

Modified: trunk/Sungrazr/Server/Handler.php (100 => 101)


--- trunk/Sungrazr/Server/Handler.php	2007-12-19 01:12:07 UTC (rev 100)
+++ trunk/Sungrazr/Server/Handler.php	2007-12-19 06:46:47 UTC (rev 101)
@@ -83,10 +83,23 @@
             $caller_class = get_class($this->_config['caller']);
             $this->_type = strtolower(end(explode('_', $caller_class)));
         }
+        
+        $this->_setup();
     }
     
     /**
      * 
+     * Post-construction setup.
+     * 
+     * @return void
+     * 
+     */
+    protected function _setup()
+    {
+    }
+    
+    /**
+     * 
      * Return the fault
      * 
      * @return array
Reply all
Reply to author
Forward
0 new messages