Permalink
Browse files

added options methods to ElementInterface

  • Loading branch information...
1 parent 4c8ffb7 commit b9731fc55b7c336f263e0ca02caf495461ad8be7 @phpboyscout phpboyscout committed Jul 16, 2012
Showing with 15 additions and 0 deletions.
  1. +15 −0 library/Zend/Form/ElementInterface.php
@@ -41,6 +41,21 @@ public function getName();
* @return ElementInterface
*/
public function setOptions($options);
+
+ /**
+ * get the defined options
+ *
+ * @return array
+ */
+ public function getOptions();
+
+ /**
+ * return the specified option
+ *
+ * @param string $option
+ * @return NULL|multitype
+ */
+ public function getOption($option);
/**
* Set a single element attribute

0 comments on commit b9731fc

Please sign in to comment.