Tax Tax(
[String
$price = ''], [String
$rate = '']
)
|
|
Constructor
Parameters:
|
String |
$price: |
The price to calculate tax |
|
String |
$rate: |
The Tax Rate. I.e. 25 % |
void display(
[String
$price = ''], [String
$rate = '']
)
|
|
Display the Tax Rate
Parameters:
|
String |
$price: |
The price to calculate tax |
|
String |
$rate: |
The Tax Rate. I.e. 25 % |
API Tags:
Redefinition of:
- Html::display()
- Display the html
int get(
[String
$price = ''], [String
$rate = '']
)
|
|
Get the Tax
- Usage:
- Tax::get($price,$rate);
Parameters:
|
String |
$price: |
The price to calculate tax |
|
String |
$rate: |
The Tax Rate. I.e. 25 % |
API Tags:
| Return: | The Tax Rate as html |
| Static: | |
Redefinition of:
- Html::get()
- Get the complete html for a key
Get the tax calculation
API Tags:
Redefinition of:
- Html::getHtml()
- Get Html
Get the Tax Rate. I.e. 25 for 25% in Denmark
API Tags:
Get the tax to pay
API Tags:
Get the Tax text as html
API Tags:
int rate(
[String
$rate = '']
)
|
|
Get the Tax Rate
Parameters:
|
String |
$rate: |
The Tax Rate. I.e. 25 % |
API Tags:
| Return: | The Tax Rate as html |
| Static: | |
String text(
[String
$rate = '']
)
|
|
Get the Tax Text
Parameters:
|
String |
$rate: |
The Tax Rate. I.e. 25 % |
API Tags:
| Return: | The Text as html |
| Static: | |