PHP 클래스 form

$Id: form.php 2914 2008-06-25 22:45:11Z Shadowhand $
저자: Kohana Team
파일 보기 프로젝트 열기: anchorcms/anchor-cms 1 사용 예제들

공개 메소드들

메소드 설명
button ( $value = null, $attributes = [] )
checkbox ( $name, $value = 1, $checked = false, $attributes = [] )
close ( )
date ( $name, $value = '', $attributes = [] )
email ( $name, $value = '', $attributes = [] )
file ( $name, $attributes = [] )
hidden ( $name, $value = '', $attributes = [] )
image ( $url, $name = null, $attributes = [] )
input ( $type, $name, $value = '', $attributes = [] )
number ( $name, $value = '', $attributes = [] )
open ( $action, $method = 'POST', $attributes = [] )
open_multipart ( $action, $attributes = [] )
password ( $name, $attributes = [] )
radio ( $name, $value = null, $checked = false, $attributes = [] )
reset ( $value = null, $attributes = [] )
search ( $name, $value = '', $attributes = [] )
select ( $name, $options = [], $selected = null, $attributes = [] )
submit ( $value = null, $attributes = [] )
telephone ( $name, $value = '', $attributes = [] )
text ( $name, $value = '', $attributes = [] )
textarea ( $name, $value = '', $attributes = [] )
url ( $name, $value = '', $attributes = [] )

보호된 메소드들

메소드 설명
action ( $action )
checkable ( $type, $name, $value, $checked, $attributes )
method ( $method )
optgroup ( $options, $label, $selected )
option ( $value, $display, $selected )

메소드 상세

action() 보호된 정적인 메소드

protected static action ( $action )

button() 공개 정적인 메소드

public static button ( $value = null, $attributes = [] )

checkable() 보호된 정적인 메소드

protected static checkable ( $type, $name, $value, $checked, $attributes )

checkbox() 공개 정적인 메소드

public static checkbox ( $name, $value = 1, $checked = false, $attributes = [] )

close() 공개 정적인 메소드

public static close ( )

date() 공개 정적인 메소드

public static date ( $name, $value = '', $attributes = [] )

email() 공개 정적인 메소드

public static email ( $name, $value = '', $attributes = [] )

file() 공개 정적인 메소드

public static file ( $name, $attributes = [] )

hidden() 공개 정적인 메소드

public static hidden ( $name, $value = '', $attributes = [] )

image() 공개 정적인 메소드

public static image ( $url, $name = null, $attributes = [] )

input() 공개 정적인 메소드

public static input ( $type, $name, $value = '', $attributes = [] )

method() 보호된 정적인 메소드

protected static method ( $method )

number() 공개 정적인 메소드

public static number ( $name, $value = '', $attributes = [] )

open() 공개 정적인 메소드

public static open ( $action, $method = 'POST', $attributes = [] )

open_multipart() 공개 정적인 메소드

public static open_multipart ( $action, $attributes = [] )

optgroup() 보호된 정적인 메소드

protected static optgroup ( $options, $label, $selected )

option() 보호된 정적인 메소드

protected static option ( $value, $display, $selected )

password() 공개 정적인 메소드

public static password ( $name, $attributes = [] )

radio() 공개 정적인 메소드

public static radio ( $name, $value = null, $checked = false, $attributes = [] )

reset() 공개 정적인 메소드

public static reset ( $value = null, $attributes = [] )

select() 공개 정적인 메소드

public static select ( $name, $options = [], $selected = null, $attributes = [] )

submit() 공개 정적인 메소드

public static submit ( $value = null, $attributes = [] )

telephone() 공개 정적인 메소드

public static telephone ( $name, $value = '', $attributes = [] )

text() 공개 정적인 메소드

public static text ( $name, $value = '', $attributes = [] )

textarea() 공개 정적인 메소드

public static textarea ( $name, $value = '', $attributes = [] )

url() 공개 정적인 메소드

public static url ( $name, $value = '', $attributes = [] )