toxygene / rend

Automatically exported from code.google.com/p/rend
Other
0 stars 0 forks source link

Improve direct() methods throught helpers #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Many of the action helpers in Rend simply return an object through
direct(), despite many better things that could be done.

For example, Rend_Controller_Action_Helper_Translator::direct() simply
returns the Zend_Translate object, but it would make a lot more sense to
call translate() on the object with a supplied key instead.

Based on http://code.google.com/p/rend/issues/detail?id=5

Original issue reported on code.google.com by justin.h...@gmail.com on 12 Jun 2008 at 2:19

GoogleCodeExporter commented 9 years ago
With the new factory and factory loader code, these are becoming less useful. 
The
action helpers will remain in, for the time being, but may become 
deprecated/removed
in the next major release.

Original comment by justin.h...@gmail.com on 29 Oct 2008 at 4:24

GoogleCodeExporter commented 9 years ago

Original comment by justin.h...@gmail.com on 29 Oct 2008 at 4:30

GoogleCodeExporter commented 9 years ago

Original comment by justin.h...@gmail.com on 8 Dec 2008 at 3:52