Buffer Buffer(
[String
$html = '']
)
|
|
Constructor
Parameters:
|
String |
$html: |
The html to startup with |
Add the html to the Buffer object
Parameters:
|
String |
$html: |
The html to startup with |
API Tags:
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
| Static: | |
A cache file is created in the cache directory
Only files with no GET and no POST request parameters are cached
API Tags:
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
| Static: | |
Clear
API Tags:
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
| Static: | |
Display html
API Tags:
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
| Static: | |
Get the html
API Tags:
| Return: | The html |
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
| Static: | |
boolean save(
String
$content
)
|
|
Save the content to the file opened by fp
Parameters:
|
String |
$content: |
The content to write |
API Tags:
| Return: | Returns True on success, False on failure |
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
void show(
[String
$file = '']
)
|
|
Show buffer
Parameters:
|
String |
$file: |
The file to show |
API Tags:
| Global: | GLOBAL_SOURCE_CODE_NAME 0: |
| Static: | |
String showSouce(
String
$file
)
|
|
Show Source
- Usage:
- Buffer::showSource($file);
Parameters:
|
String |
$file: |
The file to show source |
API Tags: