Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First, a word of warning - if you are var_dump'ing collections, let alone every collection loaded for a given request, then you are most likely going to run in to problems - collections contain huge amounts of data. </p> <p>What is it exactly that you require from each collection that you would need to do this?</p> <p>Anyway, the only way to get this data that comes to mind would be to use an observer subscribed to:</p> <pre><code>core_collection_abstract_load_after </code></pre> <p>So as a head start...</p> <p>Your config.xml would look similar to this...</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;config&gt; &lt;modules&gt; &lt;YourCompany_YourModule&gt; &lt;version&gt;1.0.0&lt;/version&gt; &lt;/YourCompany_YourModule&gt; &lt;/modules&gt; &lt;frontend&gt; &lt;events&gt; &lt;core_collection_abstract_load_after&gt; &lt;observers&gt; &lt;yourmodule&gt; &lt;class&gt;YourCompany_YourModule_Model_Observer&lt;/class&gt; &lt;method&gt;core_collection_abstract_load_after&lt;/method&gt; &lt;/yourmodule&gt; &lt;/observers&gt; &lt;/core_collection_abstract_load_after&gt; &lt;/events&gt; &lt;/frontend&gt; &lt;global&gt; &lt;models&gt; &lt;yourmodule&gt; &lt;class&gt;YourCompany_YourModule_Model&lt;/class&gt; &lt;/yourmodule&gt; &lt;/models&gt; &lt;/global&gt; &lt;/config&gt; </code></pre> <p>Your observer would look like this...</p> <pre><code>&lt;?php class YourCompany_YourModule_Model_Observer { public function core_collection_abstract_load_after(Varien_Event_Observer $observer) { $collection = $observer-&gt;getEvent()-&gt;getCollection(); //Do what you want with each collection here } } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload