ZF-3180: Missing documentation on Zend_View_Helper_Partial::setObjectKey()

Issue Type: Docs: Improvement Created: 2008-04-25T16:21:09.000+0000 Last Updated: 2010-12-27T01:56:14.000+0000 Status: Resolved Fix version(s): - 1.5.3 (28/Jul/08)

Reporter: Christer Edvartsen (cogo) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:


The setObjectKey method in the Zend_View_Helper_Partial class is not documented anywhere. It should be documented in the Partials section of the docs.


Posted by Matthew Weier O'Phinney (matthew) on 2008-04-26T09:09:33.000+0000

Scheduling for next mini release.

Posted by Wil Sinclair (wil) on 2008-06-15T20:30:48.000+0000

Changing to comply with new IT coventions for components.

Posted by Matthew Weier O'Phinney (matthew) on 2008-07-25T07:38:58.000+0000

Resolved with a commit for a previous issue.

Posted by Webdevilopers (tridem) on 2010-12-27T01:56:06.000+0000

There is a misspelling in the german translation:

{quote} Beispiel #10 Partials in anderen Modulen darstellen

Zeitweise existiert ein Parial in einem anderen Modul {quote}

should be: {quote} Beispiel #10 Partials in anderen Modulen darstellen

Zeitweise existiert ein Partial in einem anderen Modul {quote}

Maybe it should be documented that setObjectKey('model') must be called before setting the partial path:

<pre class="highlight">
<? $this->partialLoop()->setObjectKey('model')->partialLoop('_entry.phtml', 'default', $this->entries); ?>

My first intention was:

<pre class="highlight">
<? $this->partialLoop('_entry.phtml', 'default', $this->entries)->setObjectKey('model'); ?>

but did not work since the loop does not return anything.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.