joomla/joomla-platform — pull request #1664 by dongilbert (2012-11-04 06:03:04+00:00)
Title: Adding _e method to compliment commonly echo'd class underscore methods

The static underscore methods of `JHtml`, `JRoute` and `JText` are (IMHO) preceded by the `echo` command more often than not.

This PR adds some syntatic sugar to those underscore methods, making it nicer for developers. If implemented, you would replace calls like this:

```
echo JHtml::_('tabs.start', 'tab_id', $options);
// would become
JHtml::_e('tabs.start', 'tab_id', $options);

echo JRoute::_('index.php?option=com_content');
// would become
JRoute::_e('index.php?option=com_content');

echo JText::_('JDEFAULT');
// would become
JText::_e('JDEFAULT');
```

This isn't a huge change, but I think it's a nice addition, and something that I would use extensively.