How to retrieve the display title of a document in a slot

I think I have seen this before, but can’t seem to find the code where you can call the display title of a document in a slot and use it at the parent level. We are trying to get the documents title to be sued to send to Webtrends when we create inline links that are documents.