protected function get_move_target_url($region, $weight) {
        return new moodle_url($this->page->url, array('bui_moveid' => $this->movingblock,
                'bui_newregion' => $region, 'bui_newweight' => $weight, 'sesskey' => sesskey()));
    }
protected function get_move_target_url($region, $weight) {
        return new moodle_url($this->page->url, array('bui_moveid' => $this->movingblock,
                'bui_newregion' => $region, 'bui_newweight' => $weight, 'sesskey' => sesskey()));
    }
protected function get_move_target_url ( $ region , $ weight ) { return new moodle_url ( $ this -> page -> url , array ( 'bui_moveid' => $ this -> movingblock , 'bui_newregion' => $ region , 'bui_newweight' => $ weight , 'sesskey' => sesskey ( ) ) ) ; }
Helper method used by get_content_for_region.
@param string $region region name
@param float $weight weight. May be fractional, since you may want to move a block
between ones with weight 2 and 3, say ($weight would be 2.5).
@return string URL for moving block $this->movingblock to this position.
Helper method used by get_content_for_region .