Is there a api call or function to determine if a document page is published or not? I cant seem to find or seach for it anywhere.
something like:
$page = $modx->getDocument(2);
if ($page[ispublish]) {
....
}
or something like that
ah, the document object...thats what i needed. THanks for refreshing my memory.