title: cakephp correct array to use updateAll
body: <p>I am using cakephp 2.5 and I have an array that I wish to update many records at once in the Page model. I can't seem to get the format of the array correct. I get the error:</p>
  
  <p>Notice (8): Undefined index: newOrder [APP/Controller/PagesController.php, line 133]</p>
  
  <pre><code>$newOrder = array(
          'Page' =&gt; array(
              0 =&gt; array(
                  'id' =&gt; 3,
                  'order' =&gt; 0),
              1 =&gt; array(
                  'id' =&gt; 4,
                  'order' =&gt; 0),
              2 =&gt; array(
                  'id' =&gt; 7,
                  'order' =&gt; 0
              )
  ));
  $this-&gt;Page-&gt;updateAll($newOrder);
  </code></pre>
  
  <p>One of the parts I think I am missing is using 'data' as part of the array. But I am unsure where to place it.</p>
  
  <p>I have also tried:</p>
  
  <pre><code>$this-&gt;Page-&gt;updateAll($newOrder['Page']);
  </code></pre>