PHP 클래스 Redaxscript\Html\Form

부터: 2.6.0
저자: Henry Ruhs
상속: extends HtmlAbstract
파일 보기 프로젝트 열기: redaxmedia/redaxscript 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_attributeArray array attributes of the form
$_captcha object captcha of the form
$_language object instance of the language class
$_languageArray array languages of the form
$_optionArray array options of the form
$_registry object instance of the registry class

공개 메소드들

메소드 설명
__call ( string $method = null, array $argumentArray = [] ) : Form call method as needed
__construct ( Registry $registry, Language $language ) constructor of the class
__toString ( ) : string stringify the form
captcha ( string $type = null ) : Form append the captcha
init ( array $attributeArray = [], array $optionArray = [] ) : Form init the class
label ( string $html = null, array $attributeArray = [] ) : Form append the label
legend ( string $html = null, array $attributeArray = [] ) : Form append the legend
render ( ) : string render the form
select ( array $optionArray = [], array $attributeArray = [] ) : Form append the select
selectRange ( array $rangeArray = [], array $attributeArray = [] ) : Form append the select range
textarea ( array $attributeArray = [] ) : Form append the textarea
token ( ) : Form append the token

보호된 메소드들

메소드 설명
_createButton ( string $type = null, string $text = null, array $attributeArray = [] ) : Form create the button
_createInput ( string $type = 'text', array $attributeArray = [] ) : Form create the input
_createLink ( string $type = null, string $text = null, array $attributeArray = [] ) : Form create the link
_createOption ( array $optionArray = [], mixed $selected = null ) : string create the option

메소드 상세

__call() 공개 메소드

call method as needed
부터: 2.6.0
public __call ( string $method = null, array $argumentArray = [] ) : Form
$method string name of the method
$argumentArray array arguments of the method
리턴 Form

__construct() 공개 메소드

constructor of the class
부터: 2.6.0
public __construct ( Registry $registry, Language $language )
$registry Redaxscript\Registry instance of the registry class
$language Redaxscript\Language instance of the language class

__toString() 공개 메소드

stringify the form
부터: 2.6.0
public __toString ( ) : string
리턴 string

_createButton() 보호된 메소드

create the button
부터: 2.6.0
protected _createButton ( string $type = null, string $text = null, array $attributeArray = [] ) : Form
$type string type of the button
$text string text of the button
$attributeArray array attributes of the button
리턴 Form

_createInput() 보호된 메소드

create the input
부터: 2.6.0
protected _createInput ( string $type = 'text', array $attributeArray = [] ) : Form
$type string type of the input
$attributeArray array attributes of the input
리턴 Form

_createOption() 보호된 메소드

create the option
부터: 3.0.0
protected _createOption ( array $optionArray = [], mixed $selected = null ) : string
$optionArray array options of the select
$selected mixed option to be selected
리턴 string

captcha() 공개 메소드

append the captcha
부터: 2.6.0
public captcha ( string $type = null ) : Form
$type string type of the captcha
리턴 Form

init() 공개 메소드

init the class
부터: 2.6.0
public init ( array $attributeArray = [], array $optionArray = [] ) : Form
$attributeArray array attributes of the form
$optionArray array options of the form
리턴 Form

label() 공개 메소드

append the label
부터: 3.0.0
public label ( string $html = null, array $attributeArray = [] ) : Form
$html string html of the label
$attributeArray array attributes of the label
리턴 Form

legend() 공개 메소드

append the legend
부터: 3.0.0
public legend ( string $html = null, array $attributeArray = [] ) : Form
$html string html of the legend
$attributeArray array attributes of the legend
리턴 Form

render() 공개 메소드

render the form
부터: 2.6.0
public render ( ) : string
리턴 string

select() 공개 메소드

append the select
부터: 2.6.0
public select ( array $optionArray = [], array $attributeArray = [] ) : Form
$optionArray array options of the select
$attributeArray array attributes of the select
리턴 Form

selectRange() 공개 메소드

append the select range
부터: 3.0.0
public selectRange ( array $rangeArray = [], array $attributeArray = [] ) : Form
$rangeArray array range of the select
$attributeArray array attributes of the select
리턴 Form

textarea() 공개 메소드

append the textarea
부터: 2.6.0
public textarea ( array $attributeArray = [] ) : Form
$attributeArray array attributes of the textarea
리턴 Form

token() 공개 메소드

append the token
부터: 2.6.0
public token ( ) : Form
리턴 Form

프로퍼티 상세

$_attributeArray 보호되어 있는 프로퍼티

attributes of the form
protected array $_attributeArray
리턴 array

$_captcha 보호되어 있는 프로퍼티

captcha of the form
protected object $_captcha
리턴 object

$_language 보호되어 있는 프로퍼티

instance of the language class
protected object $_language
리턴 object

$_languageArray 보호되어 있는 프로퍼티

languages of the form
protected array $_languageArray
리턴 array

$_optionArray 보호되어 있는 프로퍼티

options of the form
protected array $_optionArray
리턴 array

$_registry 보호되어 있는 프로퍼티

instance of the registry class
protected object $_registry
리턴 object