Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3492996
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:49:40+00:00 2026-05-18T11:49:40+00:00

can some one tell me how zend action helpers exactly work , i mean

  • 0

can some one tell me how zend action helpers exactly work , i mean , even though i already used them in my code i feel some thing is missing in my understanding :

e.g. i have some thing like this

$this->_helper->viewRenderer->setRender('edit',null,true);

i my code , so that i will be able to render add-actions to use edit pages (since adding is the same as editing ….. on UI basis @ least )

but my question here is , as far as i can see the _helper is an instance of

/**
 * Helper Broker to assist in routing help requests to the proper object
 *
 * @var Zend_Controller_Action_HelperBroker
 */
protected $_helper = null;

but when i try to see in the library folder this class “Zend_Controller_Action_HelperBroker” i can’t find a property named “viewRenderer”

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:49:41+00:00Added an answer on May 18, 2026 at 11:49 am

    The $_helper is a magical little thing that loads action helpers when needed. It looks in registered paths – which by default is Zend/Controller/Action/Helper – which is where you’ll find the viewRenderer helper.

    The fact that the class doesn’t have a viewRenderer property is because the HelperBroker handles all requests via the magic __call method.

    This call method looks for a helper (in this case viewRenderer) and calls the direct() method on that helper.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can some one please tell me why exactly classes were introduced in C++. Are
Can some one tell my why the folowing code doesn't work. It alerts as
Can some one tell my why the folowing code doesn't work. It alerts as
Can some one tell why this simple JSON with JqUERY doesn't work for me?
Can some one tell me how do i display real time in c++. what
Please can some one briefly tell me with example what does the means of
Can some one tell me how to pass variable Y to $('a:eq(0)').click() ? I
Can some one tell me the difference between hamiltonian path and euler path. They
I'm after some help with jquery. Can some one tell me the best way
I am a beginner to C++. Can some one tell me a best data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.