/** * Sets action helper for assembling URLs * * @see getHref() * * @param \Zend\Controller\Action\Helper\Url $uh URL helper * @return void */ public static function setUrlHelper(\Zend\Controller\Action\Helper\Url $uh) { self::$_urlHelper = $uh; }
/** * Sets the default view helper for assembling URLs. * * @see getHref() * @param null|UrlHelper $helper URL helper * @return void */ public static function setDefaultUrlHelper($helper) { self::$defaultUrlHelper = $helper; }
/** * Sets the default router for assembling URLs. * * @see getHref() * @param RouteStackInterface $router Router * @return void */ public static function setDefaultRouter($router) { self::$defaultRouter = $router; }