protected function _triggerHook($method, $content = '') {
        if ($this->_hooks) {
            foreach ($this->_hooks as $hook) {
                if (method_exists($hook, $method)) {
                    $content = $hook->{$method}($content);
                }
            }
        }

        return $content;
    }
protected function _triggerHook($method, $content = '') {
        if ($this->_hooks) {
            foreach ($this->_hooks as $hook) {
                if (method_exists($hook, $method)) {
                    $content = $hook->{$method}($content);
                }
            }
        }

        return $content;
    }
protected function _triggerHook ( $ method , $ content = '' ) { if ( $ this -> _hooks ) { foreach ( $ this -> _hooks as $ hook ) { if ( method_exists ( $ hook , $ method ) ) { $ content = $ hook -> { $ method } ( $ content ) ; } } } return $ content ; }
Trigger all hooks at an event specified by the method name.

@param string $method
@param string $content
@return string
Trigger all hooks at an event specified by the method name .