what is generaly considered fastest and most future proof way of getting the parent id of a document in a snippet? i've had a looksie through the forums but theres so many ways im kinda lost now.
to get the parent of the actual resource in a snippet on Revo use:
$parentID = $modx->resource->get('parent');