






International Sites:
|
|
PrintLink
The function PrintLink returns the URL of a category or of an article under consideration of an optional forced template.
function PrintLink ($sCategory="",$sArticle="", $sTemplate="")
The function PrintLink returns the URL of a passed category $sCategory or of an article $sArticle.
$sCategory can be both a complete category path – for instance in the format "/products/hardware/something" and a category name or an internal category number (ID).
$sArticle can be either the headline of an article or an internal article number (ID).
The parameter $sTemplate is optional and defines the template, which is to be used. If $sTemplate is not used, the template responsible for the category resp. the article or a standard template is used. For this reason, also in case of a link to an article, $sCategory should always be specified, so that the suitable template can be identified.
In order to get an URL solely for further use and NOT for output, the sister function GetLink should be used. Likewise PrintLink internally uses only the function GetLink.
Continue to recommend this article:
|
|


Direct links to the new Portalsuite 2002:
- Productinfos
- Download
- Support overview
- Support forum
|