public function get_content_for_all_regions($output) {
        $contents = array();
        $this->check_is_loaded();

        foreach ($this->regions as $region => $val) {
            $this->ensure_content_created($region, $output);
            $contents[$region] = $this->visibleblockcontent[$region];
        }
        return $contents;
    }
public function get_content_for_all_regions($output) {
        $contents = array();
        $this->check_is_loaded();

        foreach ($this->regions as $region => $val) {
            $this->ensure_content_created($region, $output);
            $contents[$region] = $this->visibleblockcontent[$region];
        }
        return $contents;
    }
public function get_content_for_all_regions ( $ output ) { $ contents = array ( ) ; $ this -> check_is_loaded ( ) ; foreach ( $ this -> regions as $ region => $ val ) { $ this -> ensure_content_created ( $ region , $ output ) ; $ contents [ $ region ] = $ this -> visibleblockcontent [ $ region ] ; } return $ contents ; }
Returns an array of block content objects for all the existings regions

@param renderer_base $output the rendered to use
@return array of block block_contents objects for all the blocks in all regions.
@since  Moodle 3.3
Returns an array of block content objects for all the existings regions