add form method to form
This commit is contained in:
parent
af24e8db45
commit
279983b079
|
@ -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;
|
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.
|
* Create a HTML input element.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue