Add missing toLabelTag() method
authorChuck Hagenbuch <chuck@horde.org>
Thu, 15 Oct 2009 01:37:33 +0000 (21:37 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 15 Oct 2009 01:37:33 +0000 (21:37 -0400)
framework/View/lib/Horde/View/Helper/Form/InstanceTag/Form.php

index 2a4f100..6fbb290 100644 (file)
  */
 class Horde_View_Helper_Form_InstanceTag_Form extends Horde_View_Helper_Form_InstanceTag_Base
 {
+    public function toLabelTag($text, $options = array())
+    {
+        return $this->contentTag('label', $text, $options);
+    }
+
     public function toInputFieldTag($fieldType, $options = array())
     {
         if (! isset($options['size'])) {