- public function Anchor($href, $text = null, array $attribs=array()) {
- $lang = Zend_Controller_Front::getInstance()->getRequest()->getQuery('lang');
- if ($lang) {
- $translator = Zend_Registry::get('Zend_Translate');
- $adapter = $translator->getAdapter();
- if ($adapter->isAvailable($lang)) {
- $href = $this->view->addParamToUrl($href, 'lang', $lang);
- }
- }
-
+ public function Anchor($href, $text = null, array $attribs=array(), $escape = true) {