add form method to form

This commit is contained in:
Michael Hasselbring 2011-06-14 10:27:05 -05:00
parent af24e8db45
commit 279983b079
1 changed files with 10 additions and 0 deletions

View File

@ -252,6 +252,16 @@ public static function select($name, $options = array(), $selected = null, $attr
return '<select'.HTML::attributes($attributes).'>'.implode('', $html_options).'</select>'.PHP_EOL;
}
/**
* Close a HTML form
*
* @return string
*/
public static function close()
{
return '</form>';
}
/**
* Create a HTML input element.
*