From: Chuck Hagenbuch Date: Thu, 15 Oct 2009 01:37:33 +0000 (-0400) Subject: Add missing toLabelTag() method X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b73fed722d56d37ee69d5ea09458e9d4e2571c60;p=horde.git Add missing toLabelTag() method --- diff --git a/framework/View/lib/Horde/View/Helper/Form/InstanceTag/Form.php b/framework/View/lib/Horde/View/Helper/Form/InstanceTag/Form.php index 2a4f100c9..6fbb2909c 100644 --- a/framework/View/lib/Horde/View/Helper/Form/InstanceTag/Form.php +++ b/framework/View/lib/Horde/View/Helper/Form/InstanceTag/Form.php @@ -23,6 +23,11 @@ */ 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'])) {