DOCS Update "download link" example to not reference old functionality

This commit is contained in:
Robbie Averill 2017-05-30 12:05:29 +12:00
parent 11819a1e16
commit d95b98d10d

View File

@ -5,9 +5,8 @@
You can use `DMSDocument::getLink` to retrieve the secure route to download a DMS document: You can use `DMSDocument::getLink` to retrieve the secure route to download a DMS document:
```php ```php
$dms = DMS::inst(); $document = DMSDocument::get()->byId(123);
$docs = $dms->getByTag('priority', 'important')->First(); $link = $document->getLink();
$link = $doc->getLink();
``` ```
## Default download behaviour ## Default download behaviour