title: getting data from another module in zend framework 2
body: <p>I installed SkeletonApplication and created default album module from ZF2 Docs. <a href="http://framework.zend.com/manual/2.2/en/user-guide/modules.html" rel="nofollow">http://framework.zend.com/manual/2.2/en/user-guide/modules.html</a></p>
  
  <p>After that, I created category module like album module.
  Here are it`s fields: category_id and category_name</p>
  
  <p>Then added extra field for album table: cat_id
  As you understand I'm trying to categorize albums.</p>
  
  <p>Then I added this code to AlbumForm.php file for fieldset choose cat_id from selectbox</p>
  
  <pre><code>$this-&gt;add(array(
      'type' =&gt; 'Zend\Form\Element\Select',
      'name' =&gt; 'cat_id',
      'options' =&gt; array(
              'value_options' =&gt; $selectOptions,
          'label' =&gt; 'Category',
       ),
  )); 
  </code></pre>
  
  <p>And now, how can I get category_name and category_id from another category module to album module?</p>