Author: stefbach
Date: 2010-03-10 00:49:37 +0100 (Wed, 10 Mar 2010)
New Revision: 28444

Modified:
   plugins/sfAmfPlugin/
   plugins/sfAmfPlugin/modules/amfbrowser/templates/indexSuccess.php
Log:
 [sfAmfPlugin] amfBrowser display service parent methods



Property changes on: plugins/sfAmfPlugin
___________________________________________________________________
Modified: svk:merge
   - 7ce51a29-67ea-4596-9a32-2e0fcaf8b5e0:/local/symfony/sfAmfPlugin:41
   + 7ce51a29-67ea-4596-9a32-2e0fcaf8b5e0:/local/symfony/sfAmfPlugin:43

Modified: plugins/sfAmfPlugin/modules/amfbrowser/templates/indexSuccess.php
===================================================================
--- plugins/sfAmfPlugin/modules/amfbrowser/templates/indexSuccess.php   
2010-03-09 23:33:58 UTC (rev 28443)
+++ plugins/sfAmfPlugin/modules/amfbrowser/templates/indexSuccess.php   
2010-03-09 23:49:37 UTC (rev 28444)
@@ -22,7 +22,7 @@
     <?php $is_empty = true; ?>
     <?php foreach ($class->getMethods() as $method): ?>
     
-      <?php if (!$method->isPublic() or $method->getDeclaringClass() != 
$class) continue;?>
+      <?php if (!$method->isPublic() or 
$method->getDeclaringClass()->getParentClass() == null) continue;?>
 
       <?php $is_empty = false; ?>
       <li class="method"><?php echo link_to($method->getName(), 
'amfbrowser/index?method='.urlencode($package_name.'::'.$method->getName()));?></li>

-- 
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