21281 Posts in 5729 Topics by 2600 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1161 Views |
-
Building a Link with the Sitetree ID

6 August 2010 at 8:09am
Hello,
I have one little question.
If I have a sitetree id, is there any internal function which builds with the help of the id the absolute url and returns it?
Thank you for your help.
Bez
-
Re: Building a Link with the Sitetree ID

6 August 2010 at 8:59am
How about...
$doSitetree = DataObject::get_by_id('SiteTree',$iSiteTreeID);
$strLink = $doSitetree->Link();
| 1161 Views | ||
|
Page:
1
|
Go to Top |


