Usage:
| METHODS | |
|---|---|
__construct()
| constructor. |
getVersion()
| gets the version to add to public URL. |
setVersion()
| sets the version that is added to each public URL. |
getBasePath()
| gets the base path. |
setBasePath()
| sets the base path. |
getBaseURL()
| gets the base URL. |
getBaseURLs()
| gets the base URLs. |
setBaseURLs()
| sets the base URLs. |
getUrl()
| returns the public path. |
getName()
| returns the canonical name of this helper. |
Constructor.
| ARGUMENTS | |
|---|---|
$basePath |
The base path |
$baseURLs |
The domain URL or an array of domain URLs |
$version |
The version |
Gets the version to add to public URL.
returns The current version
Sets the version that is added to each public URL.
| ARGUMENTS | |
|---|---|
$id |
The version |
Gets the base path.
returns The base path
Sets the base path.
| ARGUMENTS | |
|---|---|
$basePath |
The base path |
Gets the base URL.
| ARGUMENTS | |
|---|---|
$path |
The path |
returns The base URL
Gets the base URLs.
returns The base URLs
Sets the base URLs.
If you pass an array, the getBaseURL() will return a
random one each time it is called.
| ARGUMENTS | |
|---|---|
$baseURLs |
The base URLs |
Returns the public path.
| ARGUMENTS | |
|---|---|
$path |
A public path |
returns A public path which takes into account the base path and URL path
Returns the canonical name of this helper.
returns The canonical name
