Class: ViewLogin
Source Location: /myphp-1.9/myphp-1.9-mvc/html/view/ViewLogin.php
Class ViewLogin
Class Overview
|
Generates the html for a View Login Form
- Usage:
- $view = new ViewLogin($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
- print $view->getHtml();
- Or
- ViewLogin::display($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
-
- Generates a complete View Form interface
- +---------------+
- | Text header |
- +----------------
- | Label |
- | Textfield |
- +---------------
- | Buttons |
- +---------------+
Located in /myphp-1.9/myphp-1.9-mvc/html/view/ViewLogin.php [line 42]
Object
|
--Html
|
--Table
|
--ViewCommon
|
--ViewForm
|
--ViewLogin
|
Methods
|
Inherited Properties, Constants, and Methods
Methods
ViewLogin ViewLogin(
DataReader
$datareader, [String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellpadding = ''], [String
$cellspacing = ''], [String
$summary = ''], [String
$caption = '']
)
|
|
Constructor
Parameters:
|
DataReader |
$datareader: |
The Data Reader object |
|
String |
$text: |
The text header for the table |
|
String |
$width: |
The Width for the table |
|
String |
$class: |
The Class |
|
String |
$border: |
The Border |
|
String |
$cellpadding: |
The CellSpacing |
|
String |
$cellspacing: |
The CellPadding |
|
String |
$summary: |
The Summary |
|
String |
$caption: |
The Caption |
void display(
DataReader
$datareader, [String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellpadding = ''], [String
$cellspacing = ''], [String
$summary = ''], [String
$caption = '']
)
|
|
Display html
- Usage:
- ViewLogin::display($datareader,$text,$width,$class,$border,$cellpadding,$cellspacing,$summary,$caption);
Parameters:
|
DataReader |
$datareader: |
The Data Reader object |
|
String |
$text: |
The text header for the table |
|
String |
$width: |
The width of the table |
|
String |
$class: |
The class of the table |
|
String |
$border: |
The border of the table |
|
String |
$cellpadding: |
The CellSpacing |
|
String |
$cellspacing: |
The CellPadding |
|
String |
$summary: |
The Summary |
|
String |
$caption: |
The Caption |
API Tags:
Redefinition of:
- ViewForm::display()
- Display html
Object getSubmitButton(
)
|
|
Return the Submit Button as html
API Tags:
| Return: | The html as an Object |
| Abstract: | |
Redefinition of:
- ViewForm::getSubmitButton()
- You may override this method, in order to create your own
|
|