Class: SmsView
Source Location: /myphp-1.9/myphp-1.9-sms/html/view/SmsView.php
Class SmsView
Class Overview
|
Get the View of the SMS View Form for a sms messages
- Usage:
- $html = new SmsView($phone,$action,$width,$class,$border,$cellPadding,$cellSpacing);
- print $html->getHtml();
- Or
- SmsView::display($phone,$action,$width,$class,$border,$cellPadding,$cellSpacing);
Located in /myphp-1.9/myphp-1.9-sms/html/view/SmsView.php [line 30]
Object
|
--Html
|
--SmsView
|
Properties
|
Methods
|
Inherited Properties, Constants, and Methods
Method Summary
| String |
getContact() |
Get the html, and return it as a SMS Form page |
| String |
getFormHtml() |
Get the html, and return it as a SMS Form page |
| String |
getHtml() |
Builds the html view for a SMS form |
Methods
SmsView SmsView(
[String
$phone = ''], [String
$action = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellPadding = ''], [String
$cellSpacing = '']
)
|
|
Constructor
Parameters:
|
String |
$phone: |
The mobile phone to send a SMS |
|
String |
$action: |
The url to go to |
|
String |
$width: |
The width of the table |
|
String |
$class: |
The css class to use |
|
String |
$border: |
The table border |
|
String |
$cellPadding: |
|
|
String |
$cellSpacing: |
|
void display(
[String
$phone = ''], [String
$action = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellPadding = ''], [String
$cellSpacing = '']
)
|
|
Display the html
- Usage:
- SmsView::display($phone,$action,$width,$class,$border,$cellPadding,$cellSpacing);
Parameters:
|
String |
$phone: |
The mobile phone to send a SMS |
|
String |
$action: |
The url to go to |
|
String |
$width: |
The width of the table |
|
String |
$class: |
The css class to use |
|
String |
$border: |
The table border |
|
String |
$cellPadding: |
|
|
String |
$cellSpacing: |
|
API Tags:
Redefinition of:
- Html::display()
- Display the html
Get the html, and return it as a SMS Form page
API Tags:
Get the html, and return it as a SMS Form page
API Tags:
Builds the html view for a SMS form
API Tags:
| Return: | The result as html |
Redefinition of:
- Html::getHtml()
- Get Html
|
|