I would like to know how does Magento blocks pass data to its child blocks. Example:
<reference name="content"> <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml"> <block type="page/html_pager" name="product_list_toolbar_pager"/> </block> </reference>
Here, if I take the block
product_list_toolbar_pager out from
product_list_toolbar_pager and create a block of type
page/html_pager as a child block for the block
catalog.view, it will not receive the data from the current collection I am visiting.