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 6604117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:06:38+00:00 2026-05-25T19:06:38+00:00

Thanks for previous replies.. I am trying to print Hello_world using zend framework. I

  • 0

Thanks for previous replies..

I am trying to print Hello_world using zend framework. I wrote php file in model folder and return string value as a “Hello_world”. In controller i access the value of PHP like this
$value = new TextReturner();
$this->view->setValue = $value->hello_world();
. i dont know how to access the value from controller to the view php file. I am new to zend framework. I already go through the outline structure of zend framework, i dont know how to access through codings. If anyone have idea of how to print hello_world through MVC pls guide me.

  • 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-25T19:06:39+00:00Added an answer on May 25, 2026 at 7:06 pm

    You are trying to use class $value = new TextReturner(); but your controller doesn’t see that class.

    Set this in your Bootstrap file that will help:

    protected function _initAutoLoad() {
        // Add autoloader empty namespace
        $autoLoader = Zend_Loader_Autoloader::getInstance();
        $resourceLoader = new Zend_Loader_Autoloader_Resource(
                array(
                    'basePath'      => APPLICATION_PATH,
                    'namespace'     => '',
                    'resourceTypes' => array(
                    'model'         => array(
                            'path'      => 'models/',
                            'namespace' => 'Model_'
                        ),
                    ),
                )
        );
        return $resourceLoader;
    }
    

    This will be autoload all of your model class.

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

Sidebar

Related Questions

Thanks for previous replies. I am parsing XML file using java(SAXParser), i am not
Thanks to suggestions from a previous question , I'm busy trying out IronPython, IronRuby
Thanks for previous replies I am doing application with android inbuilt voice recorder. i
I have fit a regression using lme4 thanks to a previous answer . Now
Hello all Thanks for your previous replies hey i am unable to install the
Thanks for previous reply I am new to android development. I just trying to
Thanks for previous replies, How to compare String with ListArray, and whenever the string
Thanks to all you gurus out there. I am trying to make a previous
Thanks for the previous replies. I am new to Magento and don't know how
Thanks to all that responded to my previous thread. There is still a problem

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.