SilverStripe\CMS\Model\SiteTree::Link
Return the link for this {@link SiteTree} object, with the {@link Director::baseURL()} included.
Signature
public function Link([string
$action = NULL] )
Parameters
$action
— string- Optional controller action (method).
Note: URI encoding of this parameter is applied automatically through template casting,
don't encode the passed parameter. Please use instead to
append GET parameters.
Returns
- string