Packageindex Classtrees Modulegroups Elementlist Report XML Files

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

Htmlphpnukeopenmind

Html
   |
  +-- Htmlphpnukeopenmind

Class to handle HTML page template

 

private class Htmlphpnukeopenmind 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, linkto_topic

Public Method Summary

void

Htmlphpnukeopenmind()

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)

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 Field Summary

unknown

$session

unknown

$redirect

unknown

$hits

unknown

$fortune

unknown

$utils

Public Method Details

Htmlphpnukeopenmind

public void Htmlphpnukeopenmind( )

  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 )

  Return HTML code for simple box with $text

Parameter
string $text
of the box
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 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