Line 2203 in /var/www/vhosts/larchwoodprimary.co.uk/httpdocs/app/src/pagetypes/controllers/PageController.php
2194 }else{ 2195 return false; 2196 } 2197 } 2198 public function getTrustRootUrl(){ 2199 $jsonmenu = $this->getMenuJson(); 2200 $temparray = trim($jsonmenu); 2201 $temparray = str_replace('"', '"', $temparray); 2202 $tmarray = json_decode($temparray); 2203 return($tmarray[0]); 2204 } 2205 public function getTrustChildren($tchildrenarray){ 2206 $trustpageobject = TrustRootPage::get()->limit(1); 2207 foreach($trustpageobject AS $key => $var){ 2208 $localtroot = $var->Link(); 2209 }