title: How to extend extjs DirectStore's api??? Besides CRUD I want to add new methods
body: <p>I'm quite a newbie at extjs. I've been searching for this for quite long but haven't found an answer. How to extend DirectStore's api? I want to add new methods besides CRUD.</p>
  
  <p>For example, now the store looks like:</p>
  
  <pre><code>var dirStore = new Ext.data.DirectStore({
  ...
  api: {
              create: ...,
              read: ...,
              update: ...,
              destroy: ...
          }
  </code></pre>
  
  <p>Now I want to add a new method called <em>newMethod</em>, the store will look like:</p>
  
  <pre><code>var dirStore = new Ext.data.DirectStore({
  ...
  api: {
              create: ...,
              read: ...,
              update: ...,
              destroy: ...,
              newMethod: ...
          }
  </code></pre>
  
  <p>How can I make <em>newMethod</em> work?? Thanks for any help!! I've been driven crazy!! </p>