title: Zend Framework DB table fetch array
body: <p>is it possible to fetch array from db, taking one column as array key and other column as array value? </p>
  
  <p>My current code:</p>
  
  <pre><code>$table = new Zend_Db_Table('translations');
  
  $where = $table-&gt;getAdapter()-&gt;quoteInto('lang = ?', $locale);      
  
  $result = $table-&gt;fetchAll($where)-&gt;toArray();
  </code></pre>
  
  <p>Table structure:</p>
  
  <pre><code>id     key     lang     title
  1      key1    en       Some english text
  2      key2    de       Some german text
  </code></pre>
  
  <p>So after fetching an array I would like to get array that contains key value as a array key, and a title as a array key value.</p>
  
  <p>Your help would be appreciated. </p>