Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/inri/public_html/daCode-HEAD/daCode/src/phplib/themes/kde2/html.php3
daCode -

Htmlkde2

Html
   |
  +-- Htmlkde2

Class to handle HTML page template

 

private class Htmlkde2 extends Html

Class to handle HTML page template
This class is derived by themes

daCode http://www.dacode.org/
src/phplib/html.php3
$Id: html.php3,v 1.164 2002/05/14 21:11:08 jbcombes Exp $

 

Methods inherited from Html

parsetemplate, newsbox_posted_by, newsbox_show_links, size_unit, newsbox_show_attachments, newsbox_count_comments

Public Method Summary

void

Htmlkde2()

Class constructor
string

header(string $title, [ boolean $nobanner ])

Returns the HTML header
string

footer([ string $text, boolean $nobanner ])

Returns the footer
string

sidebox(string $title, string $text, [ string $type ])

Return HTML code for side box with $text
string

simplebox(string $text, [ string $width ])

Return HTML code for simple box with $text
string

newsbox(array $row, [ integer $preview ])

Return HTML code for news box with $row from news table
string

commentbanner(integer $score, integer $res_type)

Function to print comment top banner

Private Method Summary

string

titlebar(string $title, string $style, boolean $buttons)

Creates the HTML for the title
string

bottombar()

Creates the bottom bar of a news box
string

gtkbox(string $content, string $color, string $supp)

What is it???
string

linkto_topic(string $topic)

Computes links to topic indexesWarning: documentation is missing.

Private Field Summary

unknown

$session

unknown

$redirect

unknown

$hits

unknown

$fortune

unknown

$utils

Public Method Details

Htmlkde2

public void Htmlkde2( )

  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 $title
of the box
string $text
of the box
string $type = >>""<<
of the box (for HTML comment, not displayed)
Returns string

the HTML for the box


simplebox

public string simplebox( string $text, [ string $width ] )

  Return HTML code for simple box with $text

Parameter
string $text
of the box
string $width = >>"100%"<<
content of the HTML width attribute
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


Private Method Details

titlebar

private string titlebar( string $title, string $style, boolean $buttons )

  Creates the HTML for the title

Parameter
string $title
text of the title
string $style
name of the CSS class used for title
boolean $buttons
Returns string

the HTML for the title


bottombar

private string bottombar( )

  Creates the bottom bar of a news box

Returns string

the HTML


gtkbox

private string gtkbox( string $content, string $color, string $supp )

  What is it???

Parameter
string $content
of the box
string $color
of the box
string $supp
attributes of the inner td element
Returns string

HTML code


linkto_topic

private string linkto_topic( string $topic )

  Computes links to topic indexes

Warning: documentation is missing.

Parameter
string $topic
name
Returns string

the HTML for the topic link.


Private Field Details

$session

private unknown $session

>><<



$redirect

private unknown $redirect

>><<



$hits

private unknown $hits

>><<



$fortune

private unknown $fortune

>><<



$utils

private unknown $utils

>><<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta