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

  • Home
  • SEARCH
  • 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 6952193
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:19:03+00:00 2026-05-27T14:19:03+00:00

I try it via my Zend_form: $output .= $this->_view->render(‘admin/form.phtml’ , array(‘id’ => $this->getName() ,

  • 0

I try it via my Zend_form:


$output .= $this->_view->render('admin/form.phtml'
                , array('id' => $this->getName()
                    , 'action' => $this->getAction()
                    , 'method' => $this->getMethod()
                    , 'enctype' => $this->getEnctype()
                    , 'data' => array('code' => $code
                                    , 'name' => $name
                                    , 'description' => $description)));

but when i <?php echo $this->enctype; ?> in admin/form.phtml i got nothing.

admin/form.phtml is rendered correctly

  • 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-27T14:19:04+00:00Added an answer on May 27, 2026 at 2:19 pm

    Choosing render just displays the output, Zend does not pass your data to the view. But Using view partials, you could achieve that.

    From the documentation,

    The Partial view helper is used to render a specified template within
    its own variable scope. The primary use is for reusable template
    fragments with which you do not need to worry about variable name
    clashes. Additionally, they allow you to specify partial view scripts
    from specific modules.

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

Sidebar

Related Questions

I try to upload file via curl in php, this is my sample code
i try to givee style via GridView.css into Masterpage my masterpage includes 3 pages
I try to store a draft e-mail via IMAP to a folder running on
I try to send a request to my server via GET, but qooxdoo sends
Try as I might, I can't get a JNLP file to run locally (via
If you try to pass the username/password to OpenVPN from a file via the
I have problem when I try insert some data to Informix TEXT column via
I've downloaded the source for SubSonic via SVN. When I try to open the
I'm getting undefined for some reason when I try to return the html via
Try loading this normal .jpg file in Internet Explorer 6.0. I get an error

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.