How to extend and display block

how to pass array data to the extended view’ block and how to print view block of the extended view