public function set_default_region($defaultregion) {
        $this->check_not_yet_loaded();
        if ($defaultregion) {
            $this->check_region_is_known($defaultregion);
        }
        $this->defaultregion = $defaultregion;
    }
public function set_default_region($defaultregion) {
        $this->check_not_yet_loaded();
        if ($defaultregion) {
            $this->check_region_is_known($defaultregion);
        }
        $this->defaultregion = $defaultregion;
    }
public function set_default_region ( $ defaultregion ) { $ this -> check_not_yet_loaded ( ) ; if ( $ defaultregion ) { $ this -> check_region_is_known ( $ defaultregion ) ; } $ this -> defaultregion = $ defaultregion ; }
Set the default region for new blocks on the page

@param string $defaultregion the internal names of the region where new
blocks should be added by default, and where any blocks from an
unrecognised region are shown.
Set the default region for new blocks on the page