Line 1977 in /var/www/vhosts/st-martins.essex.sch.uk/httpdocs/app/src/pagetypes/controllers/PageController.php
1968 }else{ 1969 return false; 1970 } 1971 } 1972 public function getTrustRootUrl(){ 1973 $jsonmenu = $this->getMenuJson(); 1974 $temparray = trim($jsonmenu); 1975 $temparray = str_replace('"', '"', $temparray); 1976 $tmarray = json_decode($temparray); 1977 return($tmarray[0]); 1978 } 1979 public function getTrustChildren($tchildrenarray){ 1980 $trustpageobject = TrustRootPage::get()->limit(1); 1981 foreach($trustpageobject AS $key => $var){ 1982 $localtroot = $var->Link(); 1983 }