From 8ac7346906d04e8c6bd46cd69d3015c8fc835823 Mon Sep 17 00:00:00 2001 From: Matt Cockayne Date: Sun, 15 Jul 2012 23:22:00 +0100 Subject: [PATCH] added getOptions to element --- library/Zend/Form/Element.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/library/Zend/Form/Element.php b/library/Zend/Form/Element.php index a5466e4319e..a0083793f48 100644 --- a/library/Zend/Form/Element.php +++ b/library/Zend/Form/Element.php @@ -117,6 +117,16 @@ public function setOptions($options) return $this; } + /** + * get defined options + * + * @return array() + */ + public function getOptions() + { + return $this->options; + } + /** * Set a single element attribute *