Skip to content

Commit

Permalink
added options methods to ElementInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
phpboyscout committed Jul 16, 2012
1 parent 4c8ffb7 commit b9731fc
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions library/Zend/Form/ElementInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b9731fc

Please sign in to comment.