Свойство | Тип | Описание | |
---|---|---|---|
$URL | The URL instance | ||
$header | The header instance |
Метод | Описание | |
---|---|---|
addCheckbox ( string $name, boolean $checked = false, string $class = null, string $classError = null ) : |
Adds a single checkbox. | |
addDropdown ( string $name, array $values = null, string $selected = null, boolean $multipleSelection = false, string $class = null, string $classError = null ) : SpoonFormDropdown | Adds a single dropdown. | |
addMultiCheckbox ( string $name, array $values, mixed $checked = null, string $class = null ) : SpoonFormMultiCheckbox | Adds a multiple checkbox. | |
addPassword ( string $name, string $value = null, integer $maxLength = null, string $class = null, string $classError = null, boolean $HTML = false ) : SpoonFormPassword | Adds a single password field. | |
addRadiobutton ( string $name, array $values, string $checked = null, string $class = null ) : SpoonFormRadiobutton | Adds a single radio button. | |
addText ( string $name, string $value = null, integer $maxLength = 255, string $class = null, string $classError = null, boolean $HTML = true ) : SpoonFormText | Adds a single textfield. | |
addTextarea ( string $name, string $value = null, string $class = null, string $classError = null, boolean $HTML = true ) : SpoonFormTextarea | Adds a single textarea. | |
addTime ( string $name, string $value = null, string $class = null, string $classError = null ) : SpoonFormTime | Adds a single time field. | |
getUploadMaxFileSize ( ) : string | null |
public addCheckbox ( string $name, boolean $checked = false, string $class = null, string $classError = null ) : |
||
$name | string | The name of the element. |
$checked | boolean | Should the checkbox be checked? |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
Результат |
public addDropdown ( string $name, array $values = null, string $selected = null, boolean $multipleSelection = false, string $class = null, string $classError = null ) : SpoonFormDropdown | ||
$name | string | Name of the element. |
$values | array | Values for the dropdown. |
$selected | string | The selected elements. |
$multipleSelection | boolean | Is it possible to select multiple items? |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
Результат | SpoonFormDropdown |
public addMultiCheckbox ( string $name, array $values, mixed $checked = null, string $class = null ) : SpoonFormMultiCheckbox | ||
$name | string | The name of the element. |
$values | array | The values for the checkboxes. |
$checked | mixed | Should the checkboxes be checked? |
$class | string | Class(es) that will be applied on the element. |
Результат | SpoonFormMultiCheckbox |
public addPassword ( string $name, string $value = null, integer $maxLength = null, string $class = null, string $classError = null, boolean $HTML = false ) : SpoonFormPassword | ||
$name | string | The name of the field. |
$value | string | The value for the field. |
$maxLength | integer | The maximum length for the field. |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
$HTML | boolean | Will the field contain HTML? |
Результат | SpoonFormPassword |
public addRadiobutton ( string $name, array $values, string $checked = null, string $class = null ) : SpoonFormRadiobutton | ||
$name | string | The name of the element. |
$values | array | The possible values for the radio button. |
$checked | string | Should the element be checked? |
$class | string | Class(es) that will be applied on the element. |
Результат | SpoonFormRadiobutton |
public addText ( string $name, string $value = null, integer $maxLength = 255, string $class = null, string $classError = null, boolean $HTML = true ) : SpoonFormText | ||
$name | string | The name of the element. |
$value | string | The value inside the element. |
$maxLength | integer | The maximum length for the value. |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
$HTML | boolean | Will this element contain HTML? |
Результат | SpoonFormText |
public addTextarea ( string $name, string $value = null, string $class = null, string $classError = null, boolean $HTML = true ) : SpoonFormTextarea | ||
$name | string | The name of the element. |
$value | string | The value inside the element. |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
$HTML | boolean | Will the element contain HTML? |
Результат | SpoonFormTextarea |
public addTime ( string $name, string $value = null, string $class = null, string $classError = null ) : SpoonFormTime | ||
$name | string | The name of the element. |
$value | string | The value inside the element. |
$class | string | Class(es) that will be applied on the element. |
$classError | string | Class(es) that will be applied on the element when an error occurs. |
Результат | SpoonFormTime |
public static getUploadMaxFileSize ( ) : string | null | ||
Результат | string | null |
protected Url,Backend\Core\Engine $URL | ||
Результат |