Class: Disabled
Source Location: /myphp-1.9/myphp-1.9-form/html/component/Disabled.php
Class Disabled
Class Overview
|
Generates an INPUT element for a form, which is disabled
- <input type="text" name="$name" value="$value" disabled="disabled"
- title="$title" tabindex="" class="$class" size="$size" maxlength="$maxlength" />
- Usage:
- $disabled = new Disabled($name,$value,$class,$size,$maxlength,$disabled,$readonly,$onclick,$title,$tabindex);
- print $disabled->getHtml();
- Or
- Disabled::display($name,$value,$class,$size,$maxlength,$disabled,$readonly,$onclick,$title,$tabindex);
Located in /myphp-1.9/myphp-1.9-form/html/component/Disabled.php [line 32]
Object
|
--Html
|
--Input
|
--Disabled
|
Methods
|
Inherited Properties, Constants, and Methods
Methods
Disabled Disabled(
String
$name, [String
$value = ''], [String
$class = ''], [String
$size = ''], [String
$maxlength = ''], [String
$disabled = ''], [String
$readonly = ''], [String
$onclick = ''], [String
$title = ''], [String
$tabindex = '']
)
|
|
Constructor
Parameters:
|
String |
$name: |
The name |
|
String |
$value: |
The value, if any |
|
String |
$class: |
The class |
|
String |
$size: |
The size |
|
String |
$maxlength: |
The maxlength |
|
String |
$disabled: |
The disabled |
|
String |
$readonly: |
the readonly |
|
String |
$onclick: |
On click event for javascript |
|
String |
$title: |
The tooltip |
|
String |
$tabindex: |
The tabindex |
void display(
[String
$name = ''], [String
$value = ''], [String
$class = ''], [String
$size = ''], [String
$maxlength = ''], [String
$disabled = ''], [String
$readonly = ''], [String
$onclick = ''], [String
$title = ''], [String
$tabindex = '']
)
|
|
Display html
- Usage:
- Disabled::display($name,$value,$class,$size,$maxlength,$disabled,$readonly,$onclick,$title,$tabindex);
Parameters:
|
String |
$name: |
The name |
|
String |
$value: |
The value, if any |
|
String |
$class: |
The class |
|
String |
$size: |
The size |
|
String |
$maxlength: |
The maxlength |
|
String |
$disabled: |
The disabled |
|
String |
$readonly: |
the readonly |
|
String |
$onclick: |
On click event for javascript |
|
String |
$title: |
The tooltip |
|
String |
$tabindex: |
The tabindex |
API Tags:
Redefinition of:
- Input::display()
- Display html
|
|