Line 1944 in /var/www/vhosts/henryhindejunior.co.uk/httpdocs/app/src/pagetypes/controllers/PageController.php
1935 }else{ 1936 return false; 1937 } 1938 } 1939 public function getTrustRootUrl(){ 1940 $jsonmenu = $this->getMenuJson(); 1941 $temparray = trim($jsonmenu); 1942 $temparray = str_replace('"', '"', $temparray); 1943 $tmarray = json_decode($temparray); 1944 return($tmarray[0]); 1945 } 1946 public function getTrustChildren($tchildrenarray){ 1947 $trustpageobject = TrustRootPage::get()->limit(1); 1948 foreach($trustpageobject AS $key => $var){ 1949 $localtroot = $var->Link(); 1950 }