Documentation

pm_View_Helper_BaseUrl extends Zend_View_Helper_Abstract
in package
implements Zend_View_Helper_Interface

Helper for prepending URL with base URL

Tags
since
11.0

Interfaces, Classes and Traits

Zend_View_Helper_Interface

Table of Contents

baseUrl()  : string
Add base URL to URL
moduleUrl()  : string
Prepare URL for specified controller/action in context of module

Methods

baseUrl()

Add base URL to URL

public baseUrl(string $url) : string
Parameters
$url : string
Return values
string

moduleUrl()

Prepare URL for specified controller/action in context of module

public moduleUrl(array<string|int, mixed>|string $params) : string
[
    'controller' => string,
    'action' => string,
    'link' => string,
]
Parameters
$params : array<string|int, mixed>|string
Return values
string

Search results