Line 1021 in /var/www/vhosts/st-josephs.slough.sch.uk/public_html/app/src/pagetypes/controllers/PageController.php
1012 }else{ 1013 return false; 1014 } 1015 } 1016 public function getTrustRootUrl(){ 1017 $jsonmenu = $this->getMenuJson(); 1018 $temparray = trim($jsonmenu); 1019 $temparray = str_replace('"', '"', $temparray); 1020 $tmarray = json_decode($temparray); 1021 return($tmarray[0]); 1022 } 1023 public function getTrustChildren($tchildrenarray){ 1024 $trustpageobject = TrustRootPage::get()->limit(1); 1025 foreach($trustpageobject AS $key => $var){ 1026 $localtroot = $var->Link(); 1027 }