Zend Framework

Zend_Controller_Action_HelperBroker lacks a method to return all registered helpes

Details

  • Type: Patch Patch
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0 RC1
  • Fix Version/s: 1.0.0 RC3
  • Component/s: Zend_Controller
  • Labels:
    None

Description

Patch:

Index: Controller/Action/HelperBroker.php
===================================================================
--- Controller/Action/HelperBroker.php	(revision 5182)
+++ Controller/Action/HelperBroker.php	(working copy)
@@ -232,6 +232,17 @@
 
         throw new Zend_Controller_Action_Exception('Action helper "' . $name . '" has not been registered with the helper broker');
     }
+
+    /**
+     * return existing helpers
+     *
+     * @return array
+     */
+    public static function getExistingHelpers()
+    {
+        return self::$_helpers;
+    }
+
      /**
      * Is a particular helper loaded in the broker?
      *

Activity

Hide
Bill Karwin added a comment -

Assigning to Matthew.

Categorize as Zend_Controller issue.

Show
Bill Karwin added a comment - Assigning to Matthew. Categorize as Zend_Controller issue.
Hide
Matthew Weier O'Phinney added a comment -

Added in r5298

Show
Matthew Weier O'Phinney added a comment - Added in r5298

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: