title: CakePHP How do I display all table field names
body: <p>New to CakePHP, so be gentle...</p>
  
  <p>I'm trying to loop through a table to display all the read-only fields (labels and values).
  In my edit function, I get the table </p>
  
  <pre><code>$this-&gt;set('invoice', $this-&gt;Invoice-&gt;read(null, $id));
  </code></pre>
  
  <p>In my view, I want to loop through the entire table schema and output the field names and values as labels like fieldName: value</p>
  
  <pre><code>Invoice Number: SVC00158
  Invoice Date: 03/03/12
  </code></pre>
  
  <p>There are 37 fields in this table. I would rather not have to manually code for every one. I know to retrieve the input fields like this</p>
  
  <pre><code>echo $this-&gt;Form-&gt;input('purchaseOrderNumber');
  </code></pre>
  
  <p>but I can't seem to find a 'read-only' attribute for the input() method. Hope that makes sense.</p>
  
  <p>Thanks for your time.</p>