Created
November 26, 2014 12:07
-
-
Save anonymous/e2f27fba2d5af3d40048 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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