PHP_CompatInfo
[ class tree: PHP_CompatInfo ] [ index: PHP_CompatInfo ] [ all elements ]

Class: PHP_CompatInfo_Renderer_Html

Source Location: /PHP_CompatInfo-1.9.0/CompatInfo/Renderer/Html.php

Class Overview

PHP_CompatInfo_Renderer
   |
   --PHP_CompatInfo_Renderer_Html

Html renderer for PHP_CompatInfo component.


Author(s):

Version:

  • Release: @package_version@

Variables

Methods


Inherited Variables

Inherited Methods

Class: PHP_CompatInfo_Renderer

PHP_CompatInfo_Renderer::__construct()
Base Renderer Class constructor
PHP_CompatInfo_Renderer::PHP_CompatInfo_Renderer()
Base Renderer Class constructor
PHP_CompatInfo_Renderer::endWaitProgress()
Finish the wait process
PHP_CompatInfo_Renderer::factory()
Create required instance of the Output 'driver'.
PHP_CompatInfo_Renderer::isIncludable()
Checks if in the include path
PHP_CompatInfo_Renderer::startWaitProgress()
Initialize the wait process
PHP_CompatInfo_Renderer::stillWaitProgress()
Update the wait message
PHP_CompatInfo_Renderer::update()
Update the current view

Class Details

[line 61]
Html renderer for PHP_CompatInfo component.

The PHP_CompatInfo_Renderer_Html class is a concrete implementation of PHP_CompatInfo_Renderer abstract class. It simply display results as web/html content with help of PEAR::Html_Table



[ Top ]


Class Variables

$css =

[line 70]

Style sheet for the custom layout
  • Since: 1.8.0b4
  • Access: public

Type:   string


[ Top ]



Method Detail

__construct (Constructor)   [line 95]

PHP_CompatInfo_Renderer_Html __construct( object &$parser, array $conf)

Html Renderer Class constructor (ZE2) for PHP5+
  • Since: version 1.8.0b4 (2008-06-18)
  • Access: public

Overrides PHP_CompatInfo_Renderer::__construct() (Base Renderer Class constructor)

Parameters:

object   &$parser     Instance of the parser (model of MVC pattern)
array   $conf     A hash containing any additional configuration

[ Top ]

PHP_CompatInfo_Renderer_Html (Constructor)   [line 81]

PHP_CompatInfo_Renderer_Html PHP_CompatInfo_Renderer_Html( object &$parser, array $conf)

Html Renderer Class constructor (ZE1) for PHP4
  • Since: version 1.8.0b4 (2008-06-18)
  • Access: public

Parameters:

object   &$parser     Instance of the parser (model of MVC pattern)
array   $conf     A hash containing any additional configuration

[ Top ]

display   [line 113]

void display( )

Display final results

Display final results, when data source parsing is over.

  • Since: version 1.8.0b4 (2008-06-18)
  • Access: public

[ Top ]

getStyleSheet   [line 327]

mixed getStyleSheet( [int $destination = 1], [mixed $extra = null])

Returns the custom style sheet

Returns the custom style sheet to use for layout

  • Since: version 1.8.0b4 (2008-06-18)
  • Access: public

Parameters:

int   $destination     (optional) Destination of css content
mixed   $extra     (optional) Additional data depending of destination

[ Top ]

setStyleSheet   [line 392]

bool setStyleSheet( [string $css = null])

Set a custom style sheet

Set a custom style sheet to use your own styles

  • Return: True if custom styles, false if default styles applied
  • Since: version 1.8.0b4 (2008-06-18)
  • Access: public

Parameters:

string   $css     (optional) File to read user-defined styles from

[ Top ]

toHtml   [line 419]

string toHtml( object $obj)

Returns HTML code

Returns HTML code of parsing result

  • Since: version 1.8.0b4 (2008-06-18)
  • Access: public

Parameters:

object   $obj     instance of HTML_Table

[ Top ]


Documentation generated on Mon, 19 Jan 2009 05:30:38 -0500 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.