Class Zend_Controller_Action_HelperBroker

Description
  • license: New BSD License
  • copyright: Copyright (c) 2005-2007 Zend Technologies USA Inc. (http://www.zend.com)

Located in /Controller/Action/HelperBroker.php (line 38)


	
			
Variable Summary
 static Zend_Controller_Action_Helper_Abstract[] $_helpers
 static array $_paths
Method Summary
 static void addPath (string $path, string $prefix)
 static void addPrefix (string $prefix)
 static void resetHelpers ()
 void __construct (Zend_Controller_Action $actionController)
 void _loadHelper (string $name)
 mixed __call (string $method, array $args)
Variables
static Zend_Controller_Action_Helper_Abstract[] $_helpers = array() (line 46)

$_helpers - Helper array

  • access: protected
static array $_paths = array(array(
'dir' => 'Zend/Controller/Action/Helper/',
'prefix' => 'Zend_Controller_Action_Helper_'
))
(line 53)

$_paths - paths to Action_Helpers

  • access: protected
Zend_Controller_Action $_actionController (line 63)

$_actionController - ActionController reference

  • access: protected
Methods
static addHelper (line 72)

addHelper() - Add helper objects

  • access: public
static void addHelper (Zend_Controller_Action_Helper_Abstract $helper)
static addPath (line 112)

addPath() - Add path to repositories where Action_Helpers could be found.

  • access: public
static void addPath (string $path, string $prefix)
  • string $path
  • string $prefix
static addPrefix (line 85)

addPrefix() - Add repository of helpers by prefix

  • access: public
static void addPrefix (string $prefix)
  • string $prefix
static resetHelpers (line 98)

resetHelpers()

  • access: public
static void resetHelpers ()
Constructor __construct (line 138)

__construct() -

  • access: public
void __construct (Zend_Controller_Action $actionController)
getHelper (line 179)

getHelper() - get helper by name

  • access: public
Zend_Controller_Action_Helper_Abstract getHelper (string $name)
  • string $name
notifyPostDispatch (line 165)

notifyPostDispatch() - called by action controller dispatch method

  • access: public
void notifyPostDispatch ()
notifyPreDispatch (line 152)

notifyPreDispatch() - called by action controller dispatch method

  • access: public
void notifyPreDispatch ()
_loadHelper (line 204)

_loadHelper()

  • access: protected
void _loadHelper (string $name)
  • string $name
__call (line 251)

__call()

  • access: public
  • throws: Zend_Controller_Action_Exception if helper does not have a direct() method
mixed __call (string $method, array $args)
  • string $method
  • array $args
__get (line 268)

__get()

  • access: public
  • string $name

Documentation generated on Fri, 06 Apr 2007 18:33:36 -0700 by phpDocumentor 1.3.1