Html.php文件参考

浏览该文件的源代码。

名字空间

namespace  Core

函数

 html_dropdown_list ($name, $arr, $selected=null, $extra=null)
 html_radio_group ($name, $arr, $checked=null, $separator= '', $extra=null)
 html_checkbox_group ($name, $arr, $selected=array(), $separator= '', $extra=null)
 html_checkbox ($name, $value=1, $checked=false, $label= '', $extra=null)
 html_textbox ($name, $value= '', $width=null, $maxLength=null, $extra=null)
 html_password ($name, $value= '', $width=null, $maxLength=null, $extra=null)
 html_textarea ($name, $value= '', $width=null, $height=null, $extra=null)
 html_hidden ($name, $value= '', $extra=null)
 html_filefield ($name, $width=null, $extra=null)
 html_form ($name, $action, $method='post', $onsubmit='', $extra=null)
 html_form_close ()


函数文档

html_dropdown_list ( name,
arr,
selected = null,
extra = null 
)

生成一个下拉列表框

参数:
string $name
array $arr
mixed $selected
string $extra

在文件Html.php28行定义。

参考 h().

html_radio_group ( name,
arr,
checked = null,
separator = '',
extra = null 
)

生成一组单选框

参数:
string $name
array $arr
mixed $checked
string $separator
string $extra

在文件Html.php47行定义。

参考 h()t().

html_checkbox_group ( name,
arr,
selected = array(),
separator = '',
extra = null 
)

生成一组多选框

参数:
string $name
array $arr
array $selected
string $separator
string $extra

在文件Html.php73行定义。

参考 h()t().

html_checkbox ( name,
value = 1,
checked = false,
label = '',
extra = null 
)

生成一个多选框

参数:
string $name
int $value
boolean $checked
string $label
string $extra

在文件Html.php102行定义。

参考 h().

html_textbox ( name,
value = '',
width = null,
maxLength = null,
extra = null 
)

生成一个文本输入框

参数:
string $name
string $value
int $width
int $maxLength
string $extra

在文件Html.php120行定义。

参考 h().

html_password ( name,
value = '',
width = null,
maxLength = null,
extra = null 
)

生成一个密码输入框

参数:
string $name
string $value
int $width
int $maxLength
string $extra

在文件Html.php140行定义。

参考 h().

html_textarea ( name,
value = '',
width = null,
height = null,
extra = null 
)

生成一个多行文本输入框

参数:
string $name
string $value
int $width
int $height
string $extra

在文件Html.php160行定义。

参考 h().

html_hidden ( name,
value = '',
extra = null 
)

生成一个隐藏域

参数:
string $name
string $value
string $extra

在文件Html.php176行定义。

参考 h().

html_filefield ( name,
width = null,
extra = null 
)

生成一个文件上传域

参数:
string $name
int $width
string $extra

在文件Html.php189行定义。

html_form ( name,
action,
method = 'post',
onsubmit = '',
extra = null 
)

生成 form 标记

参数:
string $name
string $action
string $method
string $onsubmit
string $extra

在文件Html.php206行定义。

html_form_close (  ) 

关闭 form 标记

在文件Html.php217行定义。


Generated at Sat Feb 2 15:18:52 2008 for FleaPHP by  doxygen 1.5.3