Author: ornicar2
Date: 2010-02-08 11:11:20 +0100 (Mon, 08 Feb 2010)
New Revision: 27707

Modified:
   plugins/diemPlugin/trunk/dmCorePlugin/lib/action/dmBaseComponents.php
Log:
[Diem]
- made some component getters public to ease components extension

Modified: plugins/diemPlugin/trunk/dmCorePlugin/lib/action/dmBaseComponents.php
===================================================================
--- plugins/diemPlugin/trunk/dmCorePlugin/lib/action/dmBaseComponents.php       
2010-02-08 10:11:01 UTC (rev 27706)
+++ plugins/diemPlugin/trunk/dmCorePlugin/lib/action/dmBaseComponents.php       
2010-02-08 10:11:20 UTC (rev 27707)
@@ -3,22 +3,22 @@
 class dmBaseComponents extends sfComponents
 {
 
-  protected function getHelper()
+  public function getHelper()
   {
     return $this->context->getHelper();
   }
 
-  protected function getI18n()
+  public function getI18n()
   {
     return $this->context->getI18n();
   }
   
-  protected function getServiceContainer()
+  public function getServiceContainer()
   {
     return $this->context->getServiceContainer();
   }
   
-  protected function getService($serviceName, $class = null)
+  public function getService($serviceName, $class = null)
   {
     return $this->getServiceContainer()->getService($serviceName, $class);
   }

-- 
You received this message because you are subscribed to the Google Groups 
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/symfony-svn?hl=en.

Reply via email to