title: CakePHP: get current input's label while outputting it in view
body: <p>I am outputting a list of checkboxes, with multiple selection, in a CakePHP view. My code looks like this:</p>
  
  <p><code>&lt;?php echo $this-&gt;Form-&gt;input('Category', array('multiple' =&gt; 'checkbox', 'div' =&gt; 'image-checkbox clearfix', 'label' =&gt; false, 'data-image' =&gt; 'TEXT')); ?&gt;</code></p>
  
  <p>I want to add the input's label in the <code>data-image</code> attribute, replacing the <code>TEXT</code> value. How can I do this?</p>
  
  <p>Thank you very much!</p>