Class: Zip
Source Location: /myphp-1.9/myphp-1.9-form/html/component/Zip.php
Class Zip
Class Overview
|
Generates an INPUT element for a Zip form
- Usage:
- $html = new Zip($value,$class,$size,$maxlength,$disabled,$readonly,$onclick);
- print $html->getHtml();
- Or
- Zip::display($value,$class,$size,$maxlength,$disabled,$readonly,$onclick);
Located in /myphp-1.9/myphp-1.9-form/html/component/Zip.php [line 30]
Object
|
--Html
|
--Input
|
--TextField
|
--Zip
|
Methods
|
Inherited Properties, Constants, and Methods
Methods
Zip Zip(
[String
$value = ''], [String
$class = ''], [String
$size = ''], [String
$maxlength = ''], [String
$disabled = ''], [String
$readonly = ''], [String
$onclick = '']
)
|
|
Constructor
Parameters:
|
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 |
void display(
[String
$value = ''], [String
$class = ''], [String
$size = ''], [String
$maxlength = ''], [String
$disabled = ''], [String
$readonly = ''], [String
$onclick = '']
)
|
|
Display html
- Usage:
- Zip::display($value,$class,$size,$maxlength,$disabled,$readonly,$onclick);
Parameters:
|
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 |
API Tags:
Redefinition of:
- TextField::display()
- Display html
|
|