Zend Framework

Missing documentation on Zend_View_Helper_Partial::setObjectKey()

Details

  • Type: Docs:  Improvement Docs: Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.5.3
  • Component/s: Zend_View
  • Labels:
    None
  • Language:
    English

Description

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.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Scheduling for next mini release.

Show
Matthew Weier O'Phinney added a comment - Scheduling for next mini release.
Hide
Wil Sinclair added a comment -

Changing to comply with new IT coventions for components.

Show
Wil Sinclair added a comment - Changing to comply with new IT coventions for components.
Hide
Matthew Weier O'Phinney added a comment -

Resolved with a commit for a previous issue.

Show
Matthew Weier O'Phinney added a comment - Resolved with a commit for a previous issue.
Hide
Tridem added a comment -

There is a misspelling in the german translation:

Beispiel #10 Partials in anderen Modulen darstellen

Zeitweise existiert ein Parial in einem anderen Modul

should be:

Beispiel #10 Partials in anderen Modulen darstellen

Zeitweise existiert ein Partial in einem anderen Modul

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

<? $this->partialLoop()->setObjectKey('model')->partialLoop('_entry.phtml', 'default', $this->entries); ?>
{/code}

My first intention was:

<? $this->partialLoop('_entry.phtml', 'default', $this->entries)->setObjectKey('model'); ?>

{/code}

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

Show
Tridem added a comment - There is a misspelling in the german translation:
Beispiel #10 Partials in anderen Modulen darstellen Zeitweise existiert ein Parial in einem anderen Modul
should be:
Beispiel #10 Partials in anderen Modulen darstellen Zeitweise existiert ein Partial in einem anderen Modul
Maybe it should be documented that setObjectKey('model') must be called before setting the partial path:
<? $this->partialLoop()->setObjectKey('model')->partialLoop('_entry.phtml', 'default', $this->entries); ?>
{/code}

My first intention was:
<? $this->partialLoop('_entry.phtml', 'default', $this->entries)->setObjectKey('model'); ?> {/code} but did not work since the loop does not return anything.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

Estimated:
15m
Original Estimate - 15 minutes
Remaining:
15m
Remaining Estimate - 15 minutes
Logged:
Not Specified
Time Spent - Not Specified