public function GatherContentCurl::getParentId in GatherContent 7.2
Return parent id associated with a specific page.
File
- includes/
curl.inc, line 21 - Contains functions used to process and retrieve data from GatherContent.
Class
- GatherContentCurl
- @file Contains functions used to process and retrieve data from GatherContent.
Code
public function getParentId($page_id) {
if (isset($this->parentIds[$page_id])) {
return $this->parentIds[$page_id];
}
return 0;
}