Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
class S2d_Navigation_Page_Mvc extends Zend_Navigation_Page_Mvc
{
public function getHref()
{
$ret = '/' . Zend_Registry::get('Zend_Locale')->__toString();
$href = parent::getHref();
if (strlen($href) > 1) {
$ret .= $href;
}
return $ret . '/';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment