GetPageBody

Fetches the body text of a given page.

Prototype

function GetPageBody($PageID, $UserID)

Parameters

  • $PageID - the page whose content you'd like to retreive
  • $UserID - the user ID to use to determine permissions and visibility

Return Values

On success, the function returns a string containing the PageBody field for the page. On failure returns null.