Class: Company
Source Location: /myphp-1.9/myphp-1.9-layout/html/page/Company.php
Class Company
Class Overview
|
Used to get/display the Company Information
- +-----------------------------------------+
- | Company Information and picture |
- +-----------------------------------------+
- Usage:
- $html = new Company($text,$width,$class,$border,$cellPadding,$cellSpacing);
- print $html->getHtml();
- Or
- Company::display($text,$width,$class,$border,$cellPadding,$cellSpacing);
Located in /myphp-1.9/myphp-1.9-layout/html/page/Company.php [line 35]
Object
|
--Html
|
--Company
|
Properties
|
Methods
|
Inherited Properties, Constants, and Methods
Method Summary
| String |
getHtml() |
Builds the html, and return it for a Customer Information |
| String |
getInfo() |
Get the html for each row, and return it |
Methods
Company Company(
[String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellPadding = ''], [String
$cellSpacing = '']
)
|
|
Constructor
Parameters:
|
String |
$text: |
The text of the table |
|
String |
$width: |
The width of the table, default 100% |
|
String |
$class: |
The css class to use |
|
String |
$border: |
The table border |
|
String |
$cellPadding: |
The Cell Padding |
|
String |
$cellSpacing: |
The Cell Spacing |
API Tags:
| Global: | IMG_PATH, 0: The path to the images dir |
void display(
[String
$text = ''], [String
$width = ''], [String
$class = ''], [String
$border = ''], [String
$cellPadding = ''], [String
$cellSpacing = '']
)
|
|
Display html
- Usage:
- Company::display($text,$width,$class,$border,$cellPadding,$cellSpacing);
Parameters:
|
String |
$text: |
The text of the table |
|
String |
$width: |
The width of the table, default 100% |
|
String |
$class: |
The css class to use |
|
String |
$border: |
The table border |
|
String |
$cellPadding: |
The Cell Padding |
|
String |
$cellSpacing: |
The Cell Spacing |
API Tags:
Redefinition of:
- Html::display()
- Display the html
Builds the html, and return it for a Customer Information
API Tags:
Redefinition of:
- Html::getHtml()
- Get Html
String getInfo(
mixed
$info
)
|
|
Get the html for each row, and return it
API Tags:
|
|