Public Method Details |
Htmlbeos6 |
|
public void Htmlbeos6( )
|
| |
Class constructor
|
| Returns |
void |
|
header |
|
public string header( string $title, [ boolean $nobanner ] )
|
| |
Returns the HTML header
|
| Parameter |
|
| string |
$title |
|
|
of the page |
|
|
| boolean |
$nobanner |
= >>false<< |
|
if there shall be no banner on top of page |
|
| Returns |
string the HTML for the header (including doctype) |
|
footer |
|
public string footer( [ string $text, boolean $nobanner ] )
|
| |
Returns the footer
|
| Parameter |
|
| string |
$text |
= >>""<< |
|
to add at the bottom of the page, if $nobanner is false |
|
|
| boolean |
$nobanner |
= >>false<< |
|
true, do nbot print standard footer |
|
| Returns |
string the HTML for the footer |
|
sidebox |
|
public string sidebox( string $title, string $text, [ string $type ] )
|
| |
Return HTML code for side box with $text
|
| Parameter |
|
|
|
|
|
| string |
$type |
= >>""<< |
|
of the box (for HTML comment, not displayed) |
|
| Returns |
string the HTML for the box |
|
newsbox |
|
public string newsbox( array $row, [ integer $preview ] )
|
| |
Return HTML code for news box with $row from news table
|
| Parameter |
|
| array |
$row |
|
|
from news table |
|
|
| integer |
$preview |
= >>0<< |
|
1, special mode for preview (?!) |
|
| Returns |
string the HTML for news box |
|
commentbanner |
|
public string commentbanner( integer $score, integer $res_type )
|
| |
Function to print comment top banner
|
| Parameter |
|
| integer |
$score |
|
|
score threshold |
|
|
| integer |
$res_type |
|
|
type of resource |
|
| Returns |
string the HTML code |
|