protected function create_block_instances($birecords) {
        $results = array();
        foreach ($birecords as $record) {
            if ($blockobject = block_instance($record->blockname, $record, $this->page)) {
                $results[] = $blockobject;
            }
        }
        return $results;
    }
protected function create_block_instances($birecords) {
        $results = array();
        foreach ($birecords as $record) {
            if ($blockobject = block_instance($record->blockname, $record, $this->page)) {
                $results[] = $blockobject;
            }
        }
        return $results;
    }
protected function create_block_instances ( $ birecords ) { $ results = array ( ) ; foreach ( $ birecords as $ record ) { if ( $ blockobject = block_instance ( $ record -> blockname , $ record , $ this -> page ) ) { $ results [ ] = $ blockobject ; } } return $ results ; }
Create a set of new block instance from a record array

@param array $birecords An array of block instance records
@return array An array of instantiated block_instance objects
Create a set of new block instance from a record array