It's  an autoloading problem. Is your helper in
`module/Application/src/Application/View/Helper/LowerCase.php` ?

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 3 February 2013 21:49, Amino [via Zend Framework Community] <
ml-node+s634137n4658939...@n4.nabble.com> wrote:

> Marco thanks for the reply and the sample.
>
> I have tried it as exactly but getting this error:
> Fatal error: Class 'Application\View\Helper\LowerCase' not found in
>
> Could u say what is go wrong with this code
>
> class Module:
>    public function getViewHelperConfig()
>     {
>         return array(
>             'invokables' => array(
>                 'lowercase' => 'Application\View\Helper\LowerCase'
>             )
>         );
>     }
>
> View/Helper:
>
> namespace Application\View\Helper;
> use Zend\View\Helper\AbstractHelper;
> class LowerCase extends AbstractHelper
> {
>     public function __invoke($text)
>     {
>       return $text;
>     }
> }
>
>
>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://zend-framework-community.634137.n4.nabble.com/View-Helpers-Zend-2-tp4658937p4658939.html
>  To start a new topic under Zend Framework, email
> ml-node+s634137n634138...@n4.nabble.com
> To unsubscribe from Zend Framework Community, click 
> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4>
> .
> NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/View-Helpers-Zend-2-tp4658937p4658940.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to